工作量添加bug

This commit is contained in:
2022-04-19 17:57:27 +08:00
parent 617764126b
commit 309216b360
3 changed files with 10 additions and 9 deletions
@@ -629,7 +629,6 @@ namespace IRaCIS.Application.Services
t => t.DoctorId == workLoadAddOrUpdateModel.DoctorId && t.TrialId == workLoadAddOrUpdateModel.TrialId, u => new Enroll()
{
EnrollStatus = (int)EnrollStatus.DoctorReading,
UpdateTime = DateTime.Now
});
var success = await _doctorWorkloadRepository.SaveChangesAsync();
@@ -665,8 +664,6 @@ namespace IRaCIS.Application.Services
Downtime = workLoadAddOrUpdateModel.Downtime,
Training = workLoadAddOrUpdateModel.Training,
Global = workLoadAddOrUpdateModel.Global,
UpdateTime = DateTime.Now,
UpdateUserId = userId,
WorkTime = workLoadAddOrUpdateModel.WorkTime,
YearMonth = yearMonthStr