Commit 582fe279e6f6acc632f43dc6ba57e037ebdb270c
1 parent
13aacb9a27
Exists in
master
and in
7 other branches
分娩接口维护
Showing 1 changed file with 6 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/DischargeAbstractFacade.java
View file @
582fe27
| ... | ... | @@ -137,6 +137,12 @@ |
| 137 | 137 | return dischargeAbstractQueryResult; |
| 138 | 138 | } |
| 139 | 139 | |
| 140 | + if (patients.getType() == 3 && new Integer(0).equals(patients.getBuildType())) { | |
| 141 | + dischargeAbstractQueryResult.setStatus("4"); | |
| 142 | + dischargeAbstractQueryResult.setErrormsg("未已录入分娩信息可进行出院小结"); | |
| 143 | + return dischargeAbstractQueryResult; | |
| 144 | + } | |
| 145 | + | |
| 140 | 146 | BeanUtils.copy(patients, dischargeAbstractQueryResult); |
| 141 | 147 | dischargeAbstractQueryResult.setPatientId(patients.getId()); |
| 142 | 148 | dischargeAbstractQueryResult.setUserName(patients.getUsername()); |