Commit 66aa180682cc17764ed5114d7a6d39c1713ca3a2
1 parent
c295b225e5
Exists in
master
and in
7 other branches
分娩作废产检劵
Showing 1 changed file with 4 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java
View file @
66aa180
... | ... | @@ -196,6 +196,10 @@ |
196 | 196 | patientsLocal.setIsAutoFm(YnEnums.NO.getId()); |
197 | 197 | patientsLocal.setType(3); |
198 | 198 | patientsLocal.setFmHospital(deliverAddRequest.getFmHospital()); |
199 | + //自动分娩的时候修改buildtype为0 http://jira.healthbaby.com.cn/browse/WEB-808 | |
200 | + if (null != patients1.getBuildType() && patients1.getBuildType() == 2) { | |
201 | + patientsLocal.setBuildType(0); | |
202 | + } | |
199 | 203 | patientsLocal.setFmType(MapUtils.isNotEmpty(deliverAddRequest.getDeliveryMode()) ? null : deliverAddRequest.getDeliveryMode().toString()); |
200 | 204 | try { |
201 | 205 | patientsLocal.setFmAge(DateUtil.getAge(patients1.getBirth(), fmDate)); |