|
|
|
@ -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; |
|
|
|
} |
|
|
|
|