智慧保安后台管理-外网项目备份
tangzy
2021-09-16 0af331c7df1f4e3365b3cb5abd60eaaa09807513
src/main/java/org/springblade/modules/system/service/impl/DeptServiceImpl.java
@@ -270,14 +270,14 @@
               Dept dept = new Dept();
               dept.setDeptName(jurisdiction.getDeptName());
               Dept dept1 = this.getOne(Condition.getQueryWrapper(dept));
               map = baseMapper.lazyTreeUsersPublicSecurity(type, dept1.getId(), one.getJurisdiction());
               map = baseMapper.lazyTreeUsersPublicSecurity(null, dept1.getId(), one.getJurisdiction());
            }
         }
      }
      //民警向民警汇报,需要南昌市及当前民警所在辖区的部门数据
      if(type==3){
         //当前取所有的民警数据
         map = baseMapper.lazyTreeUsersPublicSecuritys(type,null,null);
         map = baseMapper.lazyTreeUsersPublicSecuritys(null,deptId,null);
      }
      List<TreeNodes> tree = new ArrayList<>();
      Map<Long, TreeNodes> finalMap = map;