|
|
@ -120,9 +120,14 @@ public class ResiGroupServiceImpl implements ResiGroupService { |
|
|
|
if (CollectionUtils.isEmpty(categoryList)) { |
|
|
|
return new BranchConAnalysisResultDTO(); |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(formDTO.getMonthId())) { |
|
|
|
formDTO.setDateId(DateUtils.getMonthDay(formDTO.getMonthId())); |
|
|
|
} else { |
|
|
|
if (StringUtils.isBlank(formDTO.getDateId())) { |
|
|
|
formDTO.setDateId(DateUtils.getBeforeNDay(NumConstant.ONE)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
List<FactGroupActDailyDTO> factGroupActDailyDTOList = dataStatsService.branchConAnalysis(formDTO.getCustomerId(), formDTO.getOrgId(), formDTO.getOrgType(), |
|
|
|
formDTO.getDateId(), formDTO.getFirstCategoryCode()); |
|
|
|
/** |
|
|
@ -287,9 +292,13 @@ public class ResiGroupServiceImpl implements ResiGroupService { |
|
|
|
return new ArrayList<>(); |
|
|
|
} |
|
|
|
List<GroupActRankResultDTO> resultDTOList=new ArrayList<>(); |
|
|
|
if (StringUtils.isNotBlank(formDTO.getMonthId())) { |
|
|
|
formDTO.setDateId(DateUtils.getMonthDay(formDTO.getMonthId())); |
|
|
|
} else { |
|
|
|
if (StringUtils.isBlank(formDTO.getDateId())) { |
|
|
|
formDTO.setDateId(DateUtils.getBeforeNDay(NumConstant.ONE)); |
|
|
|
} |
|
|
|
} |
|
|
|
// 1、根据以及编码查询出二级编码列表
|
|
|
|
List<ActCategoryDictDTO> actCategoryDictDTOList=queryActCategoryDictList(formDTO.getCustomerId(),formDTO.getFirstCategoryCode()); |
|
|
|
for(OrgInfoCommonDTO orgInfo:orgInfoDTOList){ |
|
|
|