Browse Source

工资条导入做出了限制

新疆警官学校中职
ndbs 1 year ago
parent
commit
9deaaa061d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/WageSchedule/WageScheduleService.cs

+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/WageSchedule/WageScheduleService.cs View File

@@ -418,7 +418,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
};

wageScheduleEntityList.Add(wageScheduleEntity);
db.Delete<WageScheduleEntity>(x => x.EmpName == wageScheduleEntity.EmpName && x.IssueMonth == wageScheduleEntity.IssueMonth && x.IssueYear == wageScheduleEntity.IssueYear);
//删除表中原有姓名,月份,年的数据
//db.Delete<WageScheduleEntity>(x => x.EmpName == wageScheduleEntity.EmpName && x.IssueMonth == wageScheduleEntity.IssueMonth && x.IssueYear == wageScheduleEntity.IssueYear);
snum++;
}
catch (Exception ex)


Loading…
Cancel
Save