| | |
| | | @Resource |
| | | private GatewaySerService gatewaySerService; |
| | | |
| | | @Resource |
| | | private SnapReplyService snapReplyService; |
| | | |
| | | /** |
| | | * 获取省及下属市州集合 |
| | | * |
| | |
| | | if (null == cacheSerByDeptId || (null != cacheSerByDeptId && StringUtils.isNotBlank(cacheSerByDeptId.getStatus()) && cacheSerByDeptId.getStatus().equals(Constant.YN_N))) { |
| | | deptData.setDailyTotal(-1); |
| | | } |
| | | //统计未批复的抓拍告警数量 |
| | | IgdsBaseParam replyParam = new IgdsBaseParam(); |
| | | replyParam.setDeptId(dept.getId()); |
| | | replyParam.setCompanyId(param.getCompanyId()); |
| | | replyParam.setKey(Constant.YN_N); |
| | | List<SnapReply> listByParam = snapReplyService.getListByParam(replyParam); |
| | | if (null != listByParam && !listByParam.isEmpty()){ |
| | | deptData.setUnReplyAlarmNum(listByParam.size()); |
| | | } |
| | | |
| | | list.add(deptData); |
| | | } |
| | | } |