Commit ee2b50ceca7fe47bfc89de4c4345b73ed36a9691

Authored by rui.zhang
1 parent e6ee9bdbdc

platform permission

机构查询

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/RegionController.java View file @ ee2b50c
... ... @@ -56,7 +56,7 @@
56 56 }
57 57  
58 58 if(user.getType().equals(1)) {
59   - if(null != user.getOrgId()) {
  59 + if(null == user.getOrgId()) {
60 60 ResultUtils.buildResultAndWrite(httpServletResponse, ErrorCodeConstants.SYSTEM_ERROR, "user data error!");
61 61 return;
62 62 }