Commit c06e84cf99418d7364e258a1095e2260d8685e84
1 parent
f4781d36f5
Exists in
master
and in
7 other branches
分娩作废产检劵
Showing 1 changed file with 9 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ApplyOrderFacade.java
View file @
c06e84c
... | ... | @@ -3,6 +3,7 @@ |
3 | 3 | import com.lyms.platform.biz.service.*; |
4 | 4 | import com.lyms.platform.common.constants.ErrorCodeConstants; |
5 | 5 | import com.lyms.platform.common.enums.*; |
6 | +import com.lyms.platform.common.exception.BusinessException; | |
6 | 7 | import com.lyms.platform.common.result.BaseListResponse; |
7 | 8 | import com.lyms.platform.common.result.BaseObjectResponse; |
8 | 9 | import com.lyms.platform.common.result.BaseResponse; |
9 | 10 | |
10 | 11 | |
... | ... | @@ -301,10 +302,16 @@ |
301 | 302 | if (StringUtils.isNotEmpty(groupsFacade.findByCurrentUserId(hospitalId))) { |
302 | 303 | String parentId = antenatalExaminationFacade.handHideBuild(sieveApplyOrderAddRequest.getPid(), sieveApplyOrderAddRequest.getParentId(), userId,-1); |
303 | 304 | if (StringUtils.isEmpty(parentId)) { |
305 | + throw new BusinessException(); | |
304 | 306 | //打印日志 |
307 | + }else { | |
308 | + sieveApplyOrderModel.setParentId(parentId); | |
309 | + sieveApplyOrderModel.setParentId(parentId); | |
310 | + Patients p=patientsService.findOnePatientById(parentId); | |
311 | + | |
312 | + //加入产筛 | |
313 | + patientsService.validata(p); | |
305 | 314 | } |
306 | - sieveApplyOrderModel.setParentId(parentId); | |
307 | - sieveApplyOrderModel.setParentId(parentId); | |
308 | 315 | } |
309 | 316 | |
310 | 317 |