Commit 642de0e9490c68dd9befaa66b1e83c387c55add4

Authored by jiangjiazhi
1 parent 2eb7bc8757

a

Showing 1 changed file with 3 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/RegionController.java View file @ 642de0e
... ... @@ -69,7 +69,7 @@
69 69 query.setTypeId("b7ea005c-dfac-4c2a-bdae-25239b3f44fd");
70 70  
71 71 if(UserTypeEnum.NORMAL_USER.getId().equals(user.getType())) {
72   - if(null == user.getOrgId()) {
  72 + /* if(null == user.getOrgId()) {
73 73 ResultUtils.buildResultAndWrite(httpServletResponse, ErrorCodeConstants.SYSTEM_ERROR, "user not defined orgId error!");
74 74 return;
75 75 }
76 76  
... ... @@ -90,9 +90,9 @@
90 90 else if(StringUtils.isNotEmpty(organization.getStreetId())&&null!=parentId &&parentId.equals(organization.getAreaId())) {
91 91 parentId = organization.getStreetId();
92 92 query.setId(parentId);
93   - }else {
  93 + }else {*/
94 94 query.setParentId(parentId);
95   - }
  95 + //}
96 96 }else{
97 97 query.setParentId(parentId);
98 98 }