Commit ad776e3e by yao.xiao

修改错误提示

parent b4afcee3
...@@ -1465,14 +1465,14 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service. ...@@ -1465,14 +1465,14 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
if (goalsType == 2){ if (goalsType == 2){
List<AclPractitionerSubordinateSystem> subordinateSystems = aclPractitionerSubordinateSystemDALService.findByOwnerPractitionerId(practitionerId); List<AclPractitionerSubordinateSystem> subordinateSystems = aclPractitionerSubordinateSystemDALService.findByOwnerPractitionerId(practitionerId);
if (subordinateSystems.isEmpty()){ if (subordinateSystems.isEmpty()){
responseVO.setCommonResult(new CommonResult(true, ZHBErrorConfig.getErrorInfo("830017"))); responseVO.setCommonResult(new CommonResult(false, ZHBErrorConfig.getErrorInfo("830017")));
return responseVO; return responseVO;
} }
subordinateSystem = subordinateSystems.get(0); subordinateSystem = subordinateSystems.get(0);
}else { }else {
subordinateSystem = aclPractitionerSubordinateSystemDALService.findByPractitionerId(practitionerId); subordinateSystem = aclPractitionerSubordinateSystemDALService.findByPractitionerId(practitionerId);
if (subordinateSystem == null){ if (subordinateSystem == null){
responseVO.setCommonResult(new CommonResult(true, ZHBErrorConfig.getErrorInfo("830017"))); responseVO.setCommonResult(new CommonResult(false, ZHBErrorConfig.getErrorInfo("830018")));
return responseVO; return responseVO;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment