Commit 3503cc0bd530703e416ed1d265ccdb216ee02634
1 parent
927799fd89
Exists in
master
and in
6 other branches
儿童隐藏档案修改
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BabyBuildController.java
View file @
3503cc0
... | ... | @@ -87,7 +87,7 @@ |
87 | 87 | Integer userId = loginState.getId(); |
88 | 88 | String hospitalId = autoMatchFacade.getHospitalId(userId); |
89 | 89 | |
90 | - if (request != null && !StringUtils.isEmpty(request.getId()) && (!"1".equals(request.getDataStatus()) || hospitalId.equals(request.getDeliverOrg()))) { | |
90 | + if (request != null && !StringUtils.isEmpty(request.getId()) && ((request.getDataStatus() != null && !"1".equals(request.getDataStatus())) || hospitalId.equals(request.getDeliverOrg()))) { | |
91 | 91 | return babyBookbuildingFacade.updateBabyBookbuilding(request, userId); |
92 | 92 | } |
93 | 93 | return babyBookbuildingFacade.addBabyBookbuilding(request, loginState.getId()); |