Commit db8702635ea30102039c9f9501bdc59356b7949c

Authored by jiangjiazhi
1 parent aba7ed75b7

设置修改分娩时间

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ db87026
... ... @@ -1109,7 +1109,7 @@
1109 1109 Date currentDate = DateUtil.formatDate(new Date());
1110 1110  
1111 1111  
1112   - if ((date.getTime() <= currentDate.getTime() || patients.getBuildType() == 2|| patients.getIsAutoFm() == 1) || patients.getType() == 3 && patients.getFmDate() != null) {
  1112 + if ((date.getTime() <= currentDate.getTime() || patients.getBuildType() == 2||(patients.getIsAutoFm()!=null&& patients.getIsAutoFm() == 1)) || patients.getType() == 3 && patients.getFmDate() != null) {
1113 1113 //建档记录
1114 1114 if (null != patients.getHospitalId()) {
1115 1115 organization = organizationService.getOrganization(Integer.valueOf(patients.getHospitalId()));