Commit 927799fd89dcdd6cb003d5fbcff5d83cf3604b44
1 parent
1e064ff71c
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 @
927799f
... | ... | @@ -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()) && (!"2".equals(request.getDataStatus()) || hospitalId.equals(request.getDeliverOrg()))) { | |
90 | + if (request != null && !StringUtils.isEmpty(request.getId()) && (!"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()); |