From ca8db69709a3537792e1218cb7fdc499213e0545 Mon Sep 17 00:00:00 2001 From: wxd <123@qq.com> Date: Mon, 2 Dec 2024 15:46:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=BB=E7=94=9F=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RegisterChecks/RegisterCheckAppService.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Shentun.Peis.Application/RegisterChecks/RegisterCheckAppService.cs b/src/Shentun.Peis.Application/RegisterChecks/RegisterCheckAppService.cs index a2a85b6..d5d6bd6 100644 --- a/src/Shentun.Peis.Application/RegisterChecks/RegisterCheckAppService.cs +++ b/src/Shentun.Peis.Application/RegisterChecks/RegisterCheckAppService.cs @@ -698,11 +698,20 @@ namespace Shentun.Peis.RegisterChecks bool isUpdate = false; if (!string.IsNullOrWhiteSpace(checkDoctorEnt.CheckDoctorId)) { + if (registerCheckEnt.CheckDate == null) + { + registerCheckEnt.CheckDate = DateTime.Now; + } registerCheckEnt.CheckDoctorId = checkDoctorEnt.CheckDoctorId; isUpdate = true; } if (!string.IsNullOrWhiteSpace(checkDoctorEnt.AuditorUserId)) { + if (registerCheckEnt.AuditTime == null) + { + registerCheckEnt.AuditTime = DateTime.Now; + } + registerCheckEnt.IsAudit = 'Y'; registerCheckEnt.AuditorUserId = Guid.Parse(checkDoctorEnt.AuditorUserId); isUpdate = true; }