Commit 807c61a9 by “Kongxiangkun”

工作台互动分析优化

parent 2692ae50
......@@ -426,14 +426,13 @@ public class EventTrackServiceImpl extends ServiceImpl<EventTrackMapper, EventTr
}
List<EventTrackTypeNumVo> eventTrackTypeNumVoList = null;
logger.info("埋点统计行为统计入参date:{},isPre:{}, types:{}, dateString:{}, siteId:{}, subIdList:{}, subNameList:{}", date, isPre, types, dateString, context.getSiteId(), subIdList,subNameList);
//判断是否获取阅读量
// if(types.get(0).equals(6)){
//一个type时表示获取的是互动量,否则则是取浏览量统计
if(types.size() == 1){
eventTrackTypeNumVoList = this.baseMapper.queryNumByTypeInformation(null,date,dateString,types,subIdList,context.getSiteId(), isPre);
logger.info("埋点统计行为统计查询结果:{}", JSONUtil.toJsonStr(eventTrackTypeNumVoList));
// } else {
// eventTrackTypeNumVoList = this.baseMapper.queryNumByType(null,date,dateString,types,subNameList,context.getSiteId(), isPre);
// logger.info("埋点统计行为统计查询结果:{}", JSONUtil.toJsonStr(eventTrackTypeNumVoList));
// }
} else {
eventTrackTypeNumVoList = this.baseMapper.queryNumByType(null,date,dateString,types,subNameList,context.getSiteId(), isPre);
}
logger.info("埋点统计行为统计查询结果:{}", JSONUtil.toJsonStr(eventTrackTypeNumVoList));
if(CollectionUtil.isNotEmpty(subNameList)){
List<EventTrackTypeNumVo> finalEventTrackTypeNumVoList = eventTrackTypeNumVoList;
subNameList.stream().forEach(name->{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment