Преглед изворни кода

工资条导入做出了限制

新疆警官学校中职
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)


Loading…
Откажи
Сачувај