|
|
@ -2019,7 +2019,7 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit |
|
|
|
} |
|
|
|
List<String> ids = orgs.stream().map(IcEventAnalysisOrgResDTO::getOrgId).collect(Collectors.toList()); |
|
|
|
List<GridOrVillageEventRateResultDTO> resultList = baseDao.getEventRateByGridIds(ids); |
|
|
|
if(null != resultList && resultList.size()> 0){ |
|
|
|
if (null != resultList && resultList.size() > 0) { |
|
|
|
for (GridOrVillageEventRateResultDTO dto : resultList) { |
|
|
|
if (null != dto) { |
|
|
|
dto.setAgencyName(namesMap.get(dto.getOrgId())); |
|
|
@ -2032,8 +2032,8 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit |
|
|
|
dtoList.add(dto); |
|
|
|
} |
|
|
|
} |
|
|
|
}else { |
|
|
|
namesMap.keySet().forEach(key->{ |
|
|
|
} else { |
|
|
|
namesMap.keySet().forEach(key -> { |
|
|
|
GridOrVillageEventRateResultDTO dto = new GridOrVillageEventRateResultDTO(); |
|
|
|
dto.setOrgId(key); |
|
|
|
dto.setAgencyName(namesMap.get(key)); |
|
|
@ -2049,8 +2049,8 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<IcEventResultDTO> getListByStatus(String orgId, String orgType, String sourceType, String status) { |
|
|
|
return baseDao.getListByStatus(getOrgPath(orgId, orgType), sourceType, status); |
|
|
|
public List<IcEventResultDTO> getListByStatus(String orgId, String orgType, String sourceType, String status, String categoryCode) { |
|
|
|
return baseDao.getListByStatus(getOrgPath(orgId, orgType), sourceType, status, categoryCode); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|