Commit 6f6ef1e35e99459f89326f51a1f33cf5c5d91a0c
1 parent
4e0f11f034
Exists in
master
and in
6 other branches
分娩作废产检劵
Showing 1 changed file with 6 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java
View file @
6f6ef1e
| ... | ... | @@ -196,6 +196,9 @@ |
| 196 | 196 | patientsLocal.setIsAutoFm(YnEnums.NO.getId()); |
| 197 | 197 | patientsLocal.setType(3); |
| 198 | 198 | patientsLocal.setFmHospital(hospitalId); |
| 199 | + if(null!=patients.get(0).getBuildType()&&patients.get(0).getBuildType()==2){ | |
| 200 | + patientsLocal.setBuildType(0); | |
| 201 | + } | |
| 199 | 202 | patientsLocal.setFmType(MapUtils.isNotEmpty(deliverAddRequest.getDeliveryMode())?null:deliverAddRequest.getDeliveryMode().toString()); |
| 200 | 203 | try { |
| 201 | 204 | patientsLocal.setFmAge(DateUtil.getAge(patients1.getBirth(), fmDate)); |
| ... | ... | @@ -300,6 +303,9 @@ |
| 300 | 303 | patients1.setIsAutoFm(YnEnums.NO.getId()); |
| 301 | 304 | patients1.setFmHospital(hospitalId); |
| 302 | 305 | patients1.setFmType(MapUtils.isNotEmpty(deliverAddRequest.getDeliveryMode())?null:deliverAddRequest.getDeliveryMode().toString()); |
| 306 | + if(null!=patients.getBuildType()&&patients.getBuildType()==2){ | |
| 307 | + patients1.setBuildType(0); | |
| 308 | + } | |
| 303 | 309 | try { |
| 304 | 310 | patients1.setFmAge(DateUtil.getAge(patients.getBirth(), fmDate)); |
| 305 | 311 | } catch (Exception e) { |