Commit 3eaad65267da0f77d385aa532604f130c98f6f12

Authored by jiangjiazhi
1 parent 65ed5bcde4

修改新电子病历

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/UsersController.java View file @ 3eaad65
... ... @@ -271,7 +271,7 @@
271 271 if(null!=u.getOrgId()){
272 272 Organization organization = organizationService.getOrganization(u.getOrgId());
273 273 if(null!=organization){
274   - if(HospitalStatusEnums.TZYX.getId()==organization.getStatus()){
  274 + if(null!=organization.getStatus() && HospitalStatusEnums.TZYX.getId()==organization.getStatus()){
275 275 ResultUtils.buildParameterErrorResultAndWrite(response, "该账户已被禁用");
276 276 return;
277 277 }