diff --git a/src/Shentun.Peis.Application/ImportRegularResults/ImportRegularResultAppService.cs b/src/Shentun.Peis.Application/ImportRegularResults/ImportRegularResultAppService.cs index 5423b13b..48be2fec 100644 --- a/src/Shentun.Peis.Application/ImportRegularResults/ImportRegularResultAppService.cs +++ b/src/Shentun.Peis.Application/ImportRegularResults/ImportRegularResultAppService.cs @@ -115,7 +115,8 @@ namespace Shentun.Peis.ImportRegularResults ItemId = itemId, ItemResult = item.ItemResult, RegisterCheckId = rgFirst.registerCheck.Id, - CheckDoctorName = item.CheckDoctorName + CheckDoctorName = item.CheckDoctorName, + CheckDate = string.IsNullOrWhiteSpace(item.CheckDate) ? null : Convert.ToDateTime(item.CheckDate) }; inputDtoList.Add(inputDto); } @@ -137,6 +138,7 @@ namespace Shentun.Peis.ImportRegularResults { RegisterCheckId = item.Key, CheckDoctorId = item.First().CheckDoctorName, + CheckDate = item.First().CheckDate, RegisterCheckItems = item.Select(o => new UpdateRegisterCheckItemDetail() { ItemId = o.ItemId,