|
|
|
@ -50,7 +50,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -74,7 +74,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -98,7 +98,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -122,7 +122,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -146,7 +146,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -170,7 +170,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -194,7 +194,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -218,7 +218,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -242,7 +242,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -266,7 +266,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -290,7 +290,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -314,7 +314,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -338,7 +338,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -362,7 +362,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
@ -386,7 +386,7 @@ public class StatisticsController { |
|
|
|
List<Long> deptIdList = new ArrayList<>(); |
|
|
|
if (dto.getDeptId() == null) { |
|
|
|
try { |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept()); |
|
|
|
deptIdList.addAll(sysPowerService.queryPowerDept(dto.getKsId())); |
|
|
|
} catch (Exception e) { |
|
|
|
log.info("获取当前登录用户部门错误"); |
|
|
|
// 获取请求携带的令牌
|
|
|
|
|