| | |
| | | return resultEntity; |
| | | } |
| | | |
| | | public ResultEntity SaveCheckSalary(HrSalaryDTO dto) |
| | | public ResultEntity SaveCheckSalary(HrSalaryUpDTO dto) |
| | | { |
| | | ResultEntity resultEntity = new ResultEntity(); |
| | | try |
| | |
| | | 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"; |