Commit 972eccef1370adbc9c4b82734a8a6bf2f36d9404
1 parent
dacaee3926
Exists in
master
and in
1 other branch
commit
Showing 1 changed file with 4 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
972ecce
| ... | ... | @@ -252,6 +252,8 @@ |
| 252 | 252 | updateLastRhTime(patients.getId(), hospitalId); |
| 253 | 253 | //修改最后一次检查时间 |
| 254 | 254 | setLashCTimes(antExAddRequest.getParentId()); |
| 255 | + patientsService.updateNextCheckTime(antExAddRequest.getNextCheckTime(), patients.getId()); | |
| 256 | + | |
| 255 | 257 | //修改数据 |
| 256 | 258 | syncMaster(antExAddRequest.getParentId(),antExAddRequest.getNextCheckTime()); |
| 257 | 259 | |
| ... | ... | @@ -295,7 +297,8 @@ |
| 295 | 297 | patients.setEnable("1"); |
| 296 | 298 | } |
| 297 | 299 | patientsService.updatePatient(patients); |
| 298 | - patientsService.updatePatientOneCol(patients.getId(), com.lyms.platform.common.utils.StringUtils.isEmpty(antExAddRequest.getNextCheckTime()) == true ? null : DateUtil.parseYMD(antExAddRequest.getNextCheckTime())); | |
| 300 | +// patientsService.updatePatientOneCol(patients.getId(), com.lyms.platform.common.utils.StringUtils.isEmpty(antExAddRequest.getNextCheckTime()) == true ? null : DateUtil.parseYMD(antExAddRequest.getNextCheckTime())); | |
| 301 | + patientsService.updateNextCheckTime(antExAddRequest.getNextCheckTime(), patients.getId()); | |
| 299 | 302 | antenatalExaminationService.addOneBabyAnt(model); |
| 300 | 303 | |
| 301 | 304 | /** 验证产检券是否可用 可用就改为已使用状态 */ |