Commit 91959bcec1239c06a3c952b4b3a7604c39582d69
1 parent
2fbc1834de
Exists in
master
and in
8 other branches
修改产检删除
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
91959bc
... | ... | @@ -966,7 +966,8 @@ |
966 | 966 | Patients patients = iterator.next(); |
967 | 967 | //处理建档就分娩的情况 |
968 | 968 | Date date = DateUtil.addWeek(patients.getLastMenses(), 42); |
969 | - Date currentDate = DateUtil.formatDate(patients.getCreated()); | |
969 | + | |
970 | + Date currentDate = DateUtil.formatDate(new Date()); | |
970 | 971 | if (date.getTime() <= currentDate.getTime() || patients.getBuildType() == 2) { |
971 | 972 | //建档记录 |
972 | 973 | if (null != patients.getHospitalId()) { |