Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
site-project
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
site-project
Commits
71dcaf0e
Commit
71dcaf0e
authored
Sep 07, 2025
by
“Kongxiangkun”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作台互动分析优化
parent
8b4ffdec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/EventTrackServiceImpl.java
+16
-16
No files found.
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/EventTrackServiceImpl.java
View file @
71dcaf0e
...
@@ -433,22 +433,22 @@ public class EventTrackServiceImpl extends ServiceImpl<EventTrackMapper, EventTr
...
@@ -433,22 +433,22 @@ public class EventTrackServiceImpl extends ServiceImpl<EventTrackMapper, EventTr
eventTrackTypeNumVoList
=
this
.
baseMapper
.
queryNumByType
(
null
,
date
,
dateString
,
types
,
subNameList
,
context
.
getSiteId
(),
isPre
);
eventTrackTypeNumVoList
=
this
.
baseMapper
.
queryNumByType
(
null
,
date
,
dateString
,
types
,
subNameList
,
context
.
getSiteId
(),
isPre
);
logger
.
info
(
"埋点统计行为统计查询结果:{}"
,
JSONUtil
.
toJsonStr
(
eventTrackTypeNumVoList
));
logger
.
info
(
"埋点统计行为统计查询结果:{}"
,
JSONUtil
.
toJsonStr
(
eventTrackTypeNumVoList
));
}
}
//
if(CollectionUtil.isNotEmpty(subNameList)){
if
(
CollectionUtil
.
isNotEmpty
(
subNameList
)){
//
List<EventTrackTypeNumVo> finalEventTrackTypeNumVoList = eventTrackTypeNumVoList;
List
<
EventTrackTypeNumVo
>
finalEventTrackTypeNumVoList
=
eventTrackTypeNumVoList
;
//
subNameList.stream().forEach(name->{
subNameList
.
stream
().
forEach
(
name
->{
//
EventTrackTypeNumVo eventTrackTypeNumVo = new EventTrackTypeNumVo();
EventTrackTypeNumVo
eventTrackTypeNumVo
=
new
EventTrackTypeNumVo
();
//
eventTrackTypeNumVo.setNum(0);
eventTrackTypeNumVo
.
setNum
(
0
);
//
eventTrackTypeNumVo.setSubType(name);
eventTrackTypeNumVo
.
setSubType
(
name
);
//
if(CollectionUtil.isNotEmpty(finalEventTrackTypeNumVoList)){
if
(
CollectionUtil
.
isNotEmpty
(
finalEventTrackTypeNumVoList
)){
//
Optional optional = finalEventTrackTypeNumVoList.stream().filter(e->Objects.equals(e.getSubType(),name)).findFirst();
Optional
optional
=
finalEventTrackTypeNumVoList
.
stream
().
filter
(
e
->
Objects
.
equals
(
e
.
getSubType
(),
name
)).
findFirst
();
//
if(optional==null||!optional.isPresent()){
if
(
optional
==
null
||!
optional
.
isPresent
()){
//
finalEventTrackTypeNumVoList.add(eventTrackTypeNumVo);
finalEventTrackTypeNumVoList
.
add
(
eventTrackTypeNumVo
);
//
}
}
//
}else{
}
else
{
//
finalEventTrackTypeNumVoList.add(eventTrackTypeNumVo);
finalEventTrackTypeNumVoList
.
add
(
eventTrackTypeNumVo
);
//
}
}
//
});
});
//
}
}
return
eventTrackTypeNumVoList
;
return
eventTrackTypeNumVoList
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment