Commit 0fbd50974d63386a1ad1cc9dde28b92e49cb2fc8

Authored by jiangjiazhi
1 parent cfac8b6b6f

增加设置parentid

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java View file @ 0fbd509
... ... @@ -451,8 +451,8 @@
451 451 return new BaseResponse().setErrormsg("该孕妇还未在本院建档不能进行分娩").setErrorcode(ErrorCodeConstants.NO_DATA);
452 452 }
453 453 int days = DateUtil.daysBetween(patients.getLastMenses(), new Date());;
454   - if(days<168 && patients.getFmDate()!=null){
455   - return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR1).setErrormsg("该孕妇不能分娩.");
  454 + if(days < 168 && patients.getFmDate() == null){
  455 + return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR1).setErrormsg("当前孕妇的孕周小于24孕周,不能进行分娩");
456 456 }
457 457  
458 458