| | |
| | | // 获取请求头中的角色别名 |
| | | String roleName = SpringUtils.getRequestParam("roleName"); |
| | | if (AuthUtils.isMj(roleName)) { |
| | | return baseMapper.getCount(neiCode, i, AuthUtil.getUserId()); |
| | | // 民警角色 |
| | | List<String> regionChildCodesList = SpringUtil.getBean(IPoliceAffairsGridService.class) |
| | | .getCommunityCodeListByUserId(AuthUtil.getUserId()); |
| | | TaskPlaceRectificationDTO taskPlaceRectificationDTO = new TaskPlaceRectificationDTO(); |
| | | taskPlaceRectificationDTO.setCommunityCode(neiCode); |
| | | taskPlaceRectificationDTO.setStatus(i); |
| | | taskPlaceRectificationDTO.setRoleName(roleName); |
| | | return baseMapper.getCount(taskPlaceRectificationDTO, regionChildCodesList, 2); |
| | | } |
| | | return 0; |
| | | } |