Commit 7ea7b6df2ad7050d71151238e7e3a4b3e52746ad

Authored by liquanyu
1 parent 5f6e772542

update

Showing 1 changed file with 6 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java View file @ 7ea7b6d
... ... @@ -1273,9 +1273,13 @@
1273 1273  
1274 1274 int days = DateUtil.daysBetween(patients.getLastMenses(), new Date());
1275 1275  
1276   - if (days < 168 && patients.getFmDate() == null) {
1277   - return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR1).setErrormsg("当前孕妇的孕周小于24孕周,不能进行分娩");
  1276 + if (!"2100001635".equals(hospital))
  1277 + {
  1278 + if (days < 168 && patients.getFmDate() == null) {
  1279 + return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR1).setErrormsg("当前孕妇的孕周小于24孕周,不能进行分娩");
  1280 + }
1278 1281 }
  1282 +
1279 1283 if (null != patients.getDueStatus() && 1 == patients.getDueStatus()) {
1280 1284 return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR).setErrormsg(" 该孕妇在系统中已终止妊娠不能再进行分娩,请重新建档");
1281 1285 }