Commit b8f8086b9c571be785a3e3aa420646acba1b4225

Authored by jiangjiazhi
1 parent 9ff64c586f

1

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ b8f8086
... ... @@ -178,7 +178,7 @@
178 178 p1.setServiceStatus(patients.getServiceStatus());
179 179 p1.setLastCheckEmployeeId(patients.getLastCheckEmployeeId());
180 180 patientsService.updatePatient(p1);
181   - patientsService.updatePatientOneCol(masterPatients.getId(), nextCheckTime);
  181 + patientsService.updatePatientOneCol(masterPatients.getId(), com.lyms.platform.common.utils.StringUtils.isEmpty(nextCheckTime)?null:DateUtil.parseYMD(nextCheckTime));
182 182 }else{
183 183 PatientsQuery patientsQuery1=new PatientsQuery();
184 184 patientsQuery1.setSource(parentId);
... ... @@ -244,7 +244,7 @@
244 244  
245 245 patients.setLastCheckEmployeeId(antExAddRequest.getCheckDoctor());
246 246 patientsService.updatePatient(patients);
247   - patientsService.updatePatientOneCol(patients.getId(), com.lyms.platform.common.utils.StringUtils.isEmpty(antExAddRequest.getNextCheckTime()) == true ? null : DateUtil.parseYMD(antExAddRequest.getNextCheckTime()));
  247 + patientsService.updatePatientOneCol(patients.getId(), com.lyms.platform.common.utils.StringUtils.isEmpty(antExAddRequest.getNextCheckTime())? null : DateUtil.parseYMD(antExAddRequest.getNextCheckTime()));
248 248 //修改孕妇高危等级
249 249 updateLastRisk(antExAddRequest.getParentId());
250 250