ソースを参照

工资条导入做出了限制

新疆警官学校中职
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); 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++; snum++;
} }
catch (Exception ex) catch (Exception ex)


読み込み中…
キャンセル
保存