|
@ -1,5 +1,6 @@ |
|
|
package com.epmet.service.evaluationindex.extract.todata.impl; |
|
|
package com.epmet.service.evaluationindex.extract.todata.impl; |
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
import com.epmet.commons.tools.constant.StrConstant; |
|
|
import com.epmet.commons.tools.constant.StrConstant; |
|
|
import com.epmet.commons.tools.utils.DateUtils; |
|
|
import com.epmet.commons.tools.utils.DateUtils; |
|
@ -84,7 +85,7 @@ public class GroupExtractServiceImpl implements GroupExtractService { |
|
|
List<FactOriginGroupMainDailyDTO> originGroupData = groupDataService.extractGroupData( |
|
|
List<FactOriginGroupMainDailyDTO> originGroupData = groupDataService.extractGroupData( |
|
|
count <= NumConstant.ZERO, |
|
|
count <= NumConstant.ZERO, |
|
|
param.getCustomerId(), param.getDateId()); |
|
|
param.getCustomerId(), param.getDateId()); |
|
|
|
|
|
log.info("extractGroupData extractGroupData:result:{},param:{}", JSON.toJSONString(originGroupData), JSON.toJSONString(param)); |
|
|
List<ExtractGroupMemberActionRecordResultDTO> memberList = new LinkedList<>(); |
|
|
List<ExtractGroupMemberActionRecordResultDTO> memberList = new LinkedList<>(); |
|
|
if (!CollectionUtils.isEmpty(originGroupData)) { |
|
|
if (!CollectionUtils.isEmpty(originGroupData)) { |
|
|
List<GridAttributesResultDTO> gridList = dimGridService.getGridAttributes(param.getCustomerId(),originGroupData.stream().map(FactOriginGroupMainDailyDTO::getGridId).distinct().collect(Collectors.toList())); |
|
|
List<GridAttributesResultDTO> gridList = dimGridService.getGridAttributes(param.getCustomerId(),originGroupData.stream().map(FactOriginGroupMainDailyDTO::getGridId).distinct().collect(Collectors.toList())); |
|
@ -160,7 +161,7 @@ public class GroupExtractServiceImpl implements GroupExtractService { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
factOriginGroupMainDailyService.insertExtractedData( |
|
|
factOriginGroupMainDailyService.insertExtractedData( |
|
|
count <= NumConstant.ZERO ? true : false, |
|
|
count <= NumConstant.ZERO, |
|
|
param.getCustomerId(), |
|
|
param.getCustomerId(), |
|
|
param.getDateId(), |
|
|
param.getDateId(), |
|
|
originGroupData, |
|
|
originGroupData, |
|
|