|
|
@ -114,7 +114,8 @@ public class StatsGroupServiceImpl implements StatsGroupService { |
|
|
|
public void groupAgencyMonthly(GroupStatsFormDTO formDTO) { |
|
|
|
DimIdGenerator.DimIdBean dimIdBean = this.getDimIdBean(formDTO); |
|
|
|
String monthId = dimIdBean.getMonthId(); |
|
|
|
List<AgencyMonthlyFormDTO> lastDayAgency = factGroupAgencyDailyService.getLastDayAgency(monthId); |
|
|
|
String dateId = dimIdBean.getDateId(); |
|
|
|
List<AgencyMonthlyFormDTO> lastDayAgency = factGroupAgencyDailyService.getLastDayAgency(dateId); |
|
|
|
List<AgencyGroupMonthlyResultDTO> monthGroupIncr = factGroupAgencyDailyService.getMonthGroupIncr(monthId); |
|
|
|
if (monthGroupIncr.size() == NumConstant.ZERO){ |
|
|
|
lastDayAgency.forEach(agency -> { |
|
|
|