| | |
| | | */ |
| | | @Override |
| | | public TaskReportStatistics getStatisticsCount(String houseCode) { |
| | | String neiCode = ""; |
| | | Dept dept = deptService.getById(AuthUtil.getDeptId()); |
| | | if (null != dept) { |
| | | neiCode = dept.getRegionCode(); |
| | | } |
| | | return baseMapper.getStatisticsCount(AuthUtil.getUserId(), houseCode, neiCode); |
| | | List<String> regionChildCodesList = SysCache.getRegionChildCodesByDeptId(AuthUtil.getDeptId()); |
| | | Integer isAdministrator = AuthUtil.isAdministrator()==true?1:2; |
| | | return baseMapper.getStatisticsCount(AuthUtil.getUserId(), houseCode, regionChildCodesList,isAdministrator); |
| | | } |
| | | |
| | | /** |