Commit fcad1431751e58da9c0eb590f447129ad438cd52

Authored by liquanyu
1 parent 36a3a564ea

同步数据

Showing 1 changed file with 4 additions and 4 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ fcad143
... ... @@ -136,7 +136,7 @@
136 136 Patients patients = patientsService.findOnePatientById(antExAddRequest.getParentId());
137 137  
138 138 patients.setLastCheckEmployeeId(antExAddRequest.getCheckDoctor());
139   - patientsService.updatePatientOneCol(patients.getId(), "nextCheckTime", com.lyms.platform.common.utils.StringUtils.isEmpty(antExAddRequest.getNextCheckTime()) == true ? null : DateUtil.parseYMD(antExAddRequest.getNextCheckTime()));
  139 + patientsService.updatePatientOneCol(patients.getId(), com.lyms.platform.common.utils.StringUtils.isEmpty(antExAddRequest.getNextCheckTime()) == true ? null : DateUtil.parseYMD(antExAddRequest.getNextCheckTime()));
140 140 patientsService.updatePatient(patients);
141 141 //修改孕妇高危等级
142 142 updateLastRisk(antExAddRequest.getParentId());
... ... @@ -160,7 +160,7 @@
160 160 }
161 161 Patients patients = patientsService.findOnePatientById(antExAddRequest.getParentId());
162 162 patients.setLastCheckEmployeeId(antExAddRequest.getCheckDoctor());
163   - patientsService.updatePatientOneCol(patients.getId(), "nextCheckTime", com.lyms.platform.common.utils.StringUtils.isEmpty(antExAddRequest.getNextCheckTime()) == true ? null : DateUtil.parseYMD(antExAddRequest.getNextCheckTime()));
  163 + patientsService.updatePatientOneCol(patients.getId(), com.lyms.platform.common.utils.StringUtils.isEmpty(antExAddRequest.getNextCheckTime()) == true ? null : DateUtil.parseYMD(antExAddRequest.getNextCheckTime()));
164 164 model.setPid(patients.getPid());
165 165 if (StringUtils.isNotEmpty(patients.getEnable()) && "0".equals(patients.getEnable())) {
166 166 patients.setEnable("1");
... ... @@ -248,7 +248,7 @@
248 248  
249 249 Patients patients = patientsService.findOnePatientById(excAddRequest.getParentId());
250 250 patients.setLastCheckEmployeeId(excAddRequest.getProdDoctor());
251   - patientsService.updatePatientOneCol(patients.getId(), "nextCheckTime", com.lyms.platform.common.utils.StringUtils.isEmpty(excAddRequest.getNextCheckTime()) == true ? null : DateUtil.parseYMD(excAddRequest.getNextCheckTime()));
  251 + patientsService.updatePatientOneCol(patients.getId(), com.lyms.platform.common.utils.StringUtils.isEmpty(excAddRequest.getNextCheckTime()) == true ? null : DateUtil.parseYMD(excAddRequest.getNextCheckTime()));
252 252 if (StringUtils.isNotEmpty(patients.getEnable()) && "0".equals(patients.getEnable())) {
253 253 patients.setEnable("1");
254 254 }
... ... @@ -292,7 +292,7 @@
292 292 antExChuModel.setHospitalId(autoMatchFacade.getHospitalId(userId));
293 293 antenatalExaminationService.addOneAntEx(antExChuModel);
294 294 //修改患者风险等级
295   - patientsService.updatePatientOneCol(patients.getId(), "nextCheckTime", com.lyms.platform.common.utils.StringUtils.isEmpty(excAddRequest.getNextCheckTime()) == true ? null : DateUtil.parseYMD(excAddRequest.getNextCheckTime()));
  295 + patientsService.updatePatientOneCol(patients.getId(), com.lyms.platform.common.utils.StringUtils.isEmpty(excAddRequest.getNextCheckTime()) == true ? null : DateUtil.parseYMD(excAddRequest.getNextCheckTime()));
296 296 patients.setLastCheckEmployeeId(excAddRequest.getProdDoctor());
297 297 // updatePatientRiskLevel(antExChuModel, patients);
298 298 patientsService.updatePatient(patients);