Commit 716ae1dc888a050248ae12a23d140bd01ce584da
1 parent
9dbcbe9941
Exists in
master
and in
2 other branches
1
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
716ae1d
| ... | ... | @@ -961,7 +961,9 @@ |
| 961 | 961 | Date date = DateUtil.addWeek(patients.getLastMenses(), 42); |
| 962 | 962 | |
| 963 | 963 | Date currentDate = DateUtil.formatDate(new Date()); |
| 964 | - if (date.getTime() <= currentDate.getTime() || patients.getBuildType() == 2) { | |
| 964 | + | |
| 965 | + | |
| 966 | + if ((date.getTime() <= currentDate.getTime() || patients.getBuildType() == 2)||patients.getType()==3&&patients.getFmDate()!=null) { | |
| 965 | 967 | //建档记录 |
| 966 | 968 | if (null != patients.getHospitalId()) { |
| 967 | 969 | organization = organizationService.getOrganization(Integer.valueOf(patients.getHospitalId())); |