Commit 9b1da838612b858d1c10b76af845a513193ae6b3
1 parent
d2310e14d2
Exists in
master
and in
1 other branch
修改新电子病历
Showing 2 changed files with 23 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
9b1da83
| ... | ... | @@ -112,7 +112,7 @@ |
| 112 | 112 | referralApplyOrderQuery1.setOutHospitalId(outHospitalId); |
| 113 | 113 | referralApplyOrderQuery1.setTransferredHospital(hospital); |
| 114 | 114 | referralApplyOrderQuery1.setPid(patients.getPid()); |
| 115 | - | |
| 115 | + referralApplyOrderQuery1.setStatus(1); | |
| 116 | 116 | ReferralApplyOrderModel model1 = new ReferralApplyOrderModel(); |
| 117 | 117 | //设置接收时间 |
| 118 | 118 | model1.setReceived(new Date()); |
| ... | ... | @@ -120,6 +120,14 @@ |
| 120 | 120 | model1.setModified(new Date()); |
| 121 | 121 | model1.setStatus(2); |
| 122 | 122 | applyOrderService.updateByParentId(referralApplyOrderQuery1, model1); |
| 123 | + | |
| 124 | + | |
| 125 | + ReferralApplyOrderQuery referralApplyOrderQuery2 = new ReferralApplyOrderQuery(); | |
| 126 | + referralApplyOrderQuery2.setOutHospitalId(hospital); | |
| 127 | + referralApplyOrderQuery2.setTransferredHospital(outHospitalId); | |
| 128 | + referralApplyOrderQuery2.setPid(patients.getPid()); | |
| 129 | + referralApplyOrderQuery2.setStatus(1); | |
| 130 | + applyOrderService.updateByParentId(referralApplyOrderQuery2, model1); | |
| 123 | 131 | } |
| 124 | 132 | } |
| 125 | 133 | } |
| ... | ... | @@ -213,6 +221,12 @@ |
| 213 | 221 | model.setModified(new Date()); |
| 214 | 222 | model.setStatus(2); |
| 215 | 223 | applyOrderService.updateByParentId(referralApplyOrderQuery1, model); |
| 224 | + | |
| 225 | + ReferralApplyOrderQuery referralApplyOrderQuery2 = new ReferralApplyOrderQuery(); | |
| 226 | + referralApplyOrderQuery2.setOutHospitalId(hospital); | |
| 227 | + referralApplyOrderQuery2.setTransferredHospital(outHospitalId); | |
| 228 | + referralApplyOrderQuery2.setPid(patients.getPid()); | |
| 229 | + applyOrderService.updateByParentId(referralApplyOrderQuery2, model); | |
| 216 | 230 | } |
| 217 | 231 | } |
| 218 | 232 | }else{ |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
9b1da83
| ... | ... | @@ -239,6 +239,14 @@ |
| 239 | 239 | model1.setModified(new Date()); |
| 240 | 240 | model1.setStatus(2); |
| 241 | 241 | applyOrderService.updateByParentId(referralApplyOrderQuery1, model1); |
| 242 | + | |
| 243 | + | |
| 244 | + ReferralApplyOrderQuery referralApplyOrderQuery2 = new ReferralApplyOrderQuery(); | |
| 245 | + referralApplyOrderQuery2.setOutHospitalId(hospital); | |
| 246 | + referralApplyOrderQuery2.setTransferredHospital(outHospitalId); | |
| 247 | + referralApplyOrderQuery2.setPid(babyModelList.get(0).getPid()); | |
| 248 | + referralApplyOrderQuery2.setStatus(1); | |
| 249 | + applyOrderService.updateByParentId(referralApplyOrderQuery2, model1); | |
| 242 | 250 | } |
| 243 | 251 | } |
| 244 | 252 | br.setErrorcode(ErrorCodeConstants.SUCCESS); |