Commit 0d06e61bbe83639d19b960c0bfb1542dfc23155d
Exists in
master
and in
2 other branches
Merge remote-tracking branch 'origin/master'
Showing 1 changed file
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
0d06e61
| ... | ... | @@ -217,6 +217,9 @@ |
| 217 | 217 | patient.setDueStatus(0); |
| 218 | 218 | //1孕妇 3 产妇 |
| 219 | 219 | patient.setType(type); |
| 220 | + if(type==3){ | |
| 221 | + patient.setIsAutoFm(YnEnums.YES.getId()); | |
| 222 | + } | |
| 220 | 223 | patient.setBuildType(buildType); |
| 221 | 224 | if (type == ServiceObjEnums.CHANOBJ.getId() && date != null) { |
| 222 | 225 | patient.setFmDate(date); |
| ... | ... | @@ -496,6 +499,9 @@ |
| 496 | 499 | } |
| 497 | 500 | |
| 498 | 501 | patient.setOperator(userId); |
| 502 | + if(patient.getType()==3){ | |
| 503 | + patient.setIsAutoFm(YnEnums.YES.getId()); | |
| 504 | + } | |
| 499 | 505 | yunBookbuildingService.updatePregnant(patient, id); |
| 500 | 506 | //如果当前是建档医院,那么需要修改其他非建档医院的数据 |
| 501 | 507 | if (autoMatchFacade.checkBStatus(userId)) { |