浏览代码

工资条导入做出了限制

新疆警官学校中职
ndbs 1年前
父节点
当前提交
9deaaa061d
共有 1 个文件被更改,包括 2 次插入1 次删除
  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 查看文件

@@ -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)


正在加载...
取消
保存