Commit d93dd70168d5f73b8ddf45475c1e40d086bbadc8
1 parent
c9b305c750
Exists in
master
and in
1 other branch
增加权限
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/VisitFacade.java
View file @
d93dd70
... | ... | @@ -264,7 +264,7 @@ |
264 | 264 | return findBabyVisit(puerperaModel);*/ |
265 | 265 | BabyModel babyModel = findOneBabyByMphone(cardNo); |
266 | 266 | if (null == babyModel) { |
267 | - return new BaseObjectResponse().setErrorcode(ErrorCodeConstants.DEPT_NOT_EXISTS).setErrormsg("产妇信息不存在"); | |
267 | + return new BaseObjectResponse().setErrorcode(ErrorCodeConstants.DEPT_NOT_EXISTS).setErrormsg("新生儿信息不存在"); | |
268 | 268 | } |
269 | 269 | return findBabyVisit(babyModel); |
270 | 270 | } |
... | ... | @@ -323,7 +323,7 @@ |
323 | 323 | public BaseObjectResponse findBabyVisitByBabyId(String babyId) { |
324 | 324 | BabyModel babyModel = babyService.getOneBabyById(babyId); |
325 | 325 | if (null == babyModel) { |
326 | - return new BaseObjectResponse().setErrormsg("找不到相关的新生儿数据"); | |
326 | + return new BaseObjectResponse().setErrormsg("找不到相关的新生儿数据").setErrorcode(ErrorCodeConstants.BUSINESS_ERROR); | |
327 | 327 | } |
328 | 328 | return findBabyVisit(babyModel); |
329 | 329 | } |