Browse Source

修改医生逻辑

master
wxd 11 months ago
parent
commit
ca8db69709
  1. 9
      src/Shentun.Peis.Application/RegisterChecks/RegisterCheckAppService.cs

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

Loading…
Cancel
Save