liujie
1 天以前 ee6a2aa9e265f498ce7df9c603d3148487c0b1e8
springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/StaticsService.java
@@ -47,7 +47,7 @@
    public List<RegionVO> queryRegionTree(LoginUserInfoVO loginUserInfo) {
        IdentityInformation currentIdentityInformation = identityInformationService.getCurrentIdentityInformation(loginUserInfo);
        if (!Integer.valueOf(2).equals(currentIdentityInformation.getIdentity())) {
            throw new ServiceException("当前账号无权限");
            return Collections.emptyList();
        }
        SystemUserLevel userLevel = currentIdentityInformation.getSystemUserLevel();
@@ -94,7 +94,7 @@
    private List<RegionVO> buildDistrictLevelTree(String districtCode) {
        List<RegionVO> streets = systemUserMapper.getStreet(districtCode);
        streets.forEach(street -> {
            street.setTier(2);
            street.setTier(3);
            List<RegionVO> communities = systemUserMapper.getCommunity(street.getId());
            communities.forEach(c -> c.setTier(4));
            street.setChildren(communities);