|
@ -398,4 +398,25 @@ public class FactOriginTopicMainDailyServiceImpl extends BaseServiceImpl<FactOri |
|
|
public List<GovernGridTotalCommonDTO> queryGridTopicValue(String customerId, List<String> gridIds, String topicStatus, String closedStatus, String shiftIssue) { |
|
|
public List<GovernGridTotalCommonDTO> queryGridTopicValue(String customerId, List<String> gridIds, String topicStatus, String closedStatus, String shiftIssue) { |
|
|
return baseDao.selectTopicGroupByGridId(customerId,gridIds,topicStatus,closedStatus,shiftIssue); |
|
|
return baseDao.selectTopicGroupByGridId(customerId,gridIds,topicStatus,closedStatus,shiftIssue); |
|
|
} |
|
|
} |
|
|
|
|
|
/** |
|
|
|
|
|
* 获取组织已关闭话题数 |
|
|
|
|
|
* |
|
|
|
|
|
* @param customerId |
|
|
|
|
|
* @param dateId |
|
|
|
|
|
* @param closedStatus |
|
|
|
|
|
* @param shiftIssue |
|
|
|
|
|
* @return java.util.List<com.epmet.dto.extract.result.OrgStatisticsResultDTO> |
|
|
|
|
|
* @author zhaoqifeng |
|
|
|
|
|
* @date 2021/5/25 15:02 |
|
|
|
|
|
*/ |
|
|
|
|
|
@Override |
|
|
|
|
|
public Map<String, OrgStatisticsResultDTO> getAgencyClosedTopicCount(String customerId, String dateId, String closedStatus, Integer shiftIssue) { |
|
|
|
|
|
List<OrgStatisticsResultDTO> list = baseDao.selectAgencyClosedTopicCount(customerId, dateId, closedStatus,shiftIssue); |
|
|
|
|
|
if (CollectionUtils.isEmpty(list)) { |
|
|
|
|
|
return Collections.emptyMap(); |
|
|
|
|
|
} |
|
|
|
|
|
return list.stream().collect(Collectors.toMap(OrgStatisticsResultDTO::getAgencyId, Function.identity())); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |