|
@ -180,19 +180,19 @@ public class StatsGroupServiceImpl implements StatsGroupService { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @param customerAgencyInfos |
|
|
* @param agencyList |
|
|
* @param timeDim |
|
|
* @param timeDim |
|
|
* @param customerId |
|
|
* @param customerId |
|
|
* @Description 网格小组 【机关-日】 数据统计处理 |
|
|
* @Description 网格小组 【机关-日】 数据统计处理 |
|
|
* @author zxc |
|
|
* @author zxc |
|
|
*/ |
|
|
*/ |
|
|
public List<AgencyGroupDailyResultDTO> getAgencyGroupDaily(List<DimAgencyDTO> customerAgencyInfos, DimIdGenerator.DimIdBean timeDim, String customerId) { |
|
|
public List<AgencyGroupDailyResultDTO> getAgencyGroupDaily(List<DimAgencyDTO> agencyList, DimIdGenerator.DimIdBean timeDim, String customerId) { |
|
|
if (customerAgencyInfos.size() == NumConstant.ZERO) { |
|
|
if (CollectionUtils.isEmpty(agencyList)) { |
|
|
return new ArrayList<>(); |
|
|
return new ArrayList<>(); |
|
|
} |
|
|
} |
|
|
List<AgencyGroupDailyResultDTO> result = new ArrayList<>(); |
|
|
List<AgencyGroupDailyResultDTO> result = new ArrayList<>(); |
|
|
String dateId = timeDim.getDateId(); |
|
|
String dateId = timeDim.getDateId(); |
|
|
List<DimAgencyEntity> agencyList = dimAgencyService.getAgencyListByCustomerId(customerId); |
|
|
// List<DimAgencyEntity> agencyList = dimAgencyService.getAgencyListByCustomerId(customerId);
|
|
|
agencyList.forEach(agency -> { |
|
|
agencyList.forEach(agency -> { |
|
|
AgencyGroupDailyResultDTO agencyResult = new AgencyGroupDailyResultDTO(); |
|
|
AgencyGroupDailyResultDTO agencyResult = new AgencyGroupDailyResultDTO(); |
|
|
String agencyId = agency.getId(); |
|
|
String agencyId = agency.getId(); |
|
|