From dc8d3e2b064fe4e32d0135126b006b4cd923eb01 Mon Sep 17 00:00:00 2001 From: LR-20210131IOQH\Administrator <jackcold@163.com> Date: 星期一, 28 六月 2021 13:55:03 +0800 Subject: [PATCH] 修改异常 --- zhengcaioa/Services/HrSalaryService.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zhengcaioa/Services/HrSalaryService.cs b/zhengcaioa/Services/HrSalaryService.cs index b2a8ea3..656f00c 100644 --- a/zhengcaioa/Services/HrSalaryService.cs +++ b/zhengcaioa/Services/HrSalaryService.cs @@ -93,7 +93,7 @@ return resultEntity; } - public ResultEntity SaveCheckSalary(HrSalaryDTO dto) + public ResultEntity SaveCheckSalary(HrSalaryUpDTO dto) { ResultEntity resultEntity = new ResultEntity(); try @@ -102,7 +102,7 @@ if(updatepltRole!=null) { //鏇存柊鐢佃瘽璐圭敤鐘舵�� - var sim = _context.SimCost.Where(c => c.bill_year == dto.Year && c.bill_month <= dto.Month && c.user_id == dto.Userid && c.status == "0").ToList(); + var sim = _context.SimCost.Where(c => c.bill_year == updatepltRole.Year && c.bill_month <= updatepltRole.Month && c.user_id == updatepltRole.Userid && c.status == "0").ToList(); foreach(var item in sim) { item.status = "1"; -- Gitblit v1.9.1