Commit 478590428942a37f36c41f03e145677b78c99ef5
1 parent
171dd03d83
Exists in
master
and in
6 other branches
产筛
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/SieveWorker.java
View file @
4785904
| ... | ... | @@ -88,14 +88,14 @@ |
| 88 | 88 | ReferralApplyOrderQuery referralApplyOrderQuery = new ReferralApplyOrderQuery(); |
| 89 | 89 | referralApplyOrderQuery.setType(2); |
| 90 | 90 | referralApplyOrderQuery.setParentId(sieveModel.getParentId()); |
| 91 | - referralApplyOrderQuery.setTransferredHospital(hospitalId); | |
| 91 | + referralApplyOrderQuery.setOutHospitalId(hospitalId); | |
| 92 | 92 | List<ReferralApplyOrderModel> orderModels = applyOrderService.queryReferralApplyOrderWithQuery(referralApplyOrderQuery); |
| 93 | 93 | if (CollectionUtils.isNotEmpty(orderModels)) |
| 94 | 94 | { |
| 95 | 95 | ReferralApplyOrderModel model = orderModels.get(0); |
| 96 | 96 | //申请单状态 0 已接收 1 已转出 2 建议转诊 |
| 97 | 97 | Integer status = model.getStatus(); |
| 98 | - if (status == 0) | |
| 98 | + if (status == 1) | |
| 99 | 99 | { |
| 100 | 100 | referralStatus = 2; |
| 101 | 101 | } |