Commit b6f585696e8653df49800d465150db4ce7d13b6e
1 parent
992b575962
Exists in
master
and in
8 other branches
增加
Showing 1 changed file with 3 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/RegionController.java
View file @
b6f5856
... | ... | @@ -63,6 +63,9 @@ |
63 | 63 | return; |
64 | 64 | } |
65 | 65 | Organization organization = organizationService.getOrganization(user.getOrgId()); |
66 | + if("0".equals(parentId)){ | |
67 | + parentId=null; | |
68 | + } | |
66 | 69 | if (null != organization.getProvinceId() && null==parentId) { |
67 | 70 | parentId = organization.getProvinceId(); |
68 | 71 | query.setId(parentId); |