From 59af9c7cbaf7eb16cca00c11426729d012196d88 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 25 六月 2021 13:08:05 +0800 Subject: [PATCH] 提交 --- zhengcaioa/Services/SimService.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/zhengcaioa/Services/SimService.cs b/zhengcaioa/Services/SimService.cs index dd6b26d..07fdc0e 100644 --- a/zhengcaioa/Services/SimService.cs +++ b/zhengcaioa/Services/SimService.cs @@ -338,6 +338,17 @@ return data; } + + public SimCostView GetSimCost(string userid, int bill_year, int bill_month) + { + + var entity = _context.SimCostView.Where(x => x.user_id == userid && x.bill_year == bill_year && x.bill_month == bill_month).FirstOrDefault(); + + + + return entity; + } + #endregion } } -- Gitblit v1.9.1