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
f6164744
Commit
f6164744
authored
Sep 04, 2025
by
“Kongxiangkun”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评论,收藏,点赞 埋点修改
parent
b95bde69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/EventTrackServiceImpl.java
+4
-0
No files found.
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/EventTrackServiceImpl.java
View file @
f6164744
...
@@ -2,6 +2,7 @@ package com.yizhi.site.application.service.impl;
...
@@ -2,6 +2,7 @@ package com.yizhi.site.application.service.impl;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.json.JSONUtil
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.baomidou.mybatisplus.mapper.EntityWrapper
;
import
com.baomidou.mybatisplus.mapper.EntityWrapper
;
import
com.baomidou.mybatisplus.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.service.impl.ServiceImpl
;
...
@@ -399,6 +400,7 @@ public class EventTrackServiceImpl extends ServiceImpl<EventTrackMapper, EventTr
...
@@ -399,6 +400,7 @@ public class EventTrackServiceImpl extends ServiceImpl<EventTrackMapper, EventTr
}
}
private
List
<
EventTrackTypeNumVo
>
queryNumByType
(
String
date
,
Boolean
isPre
,
List
<
Integer
>
types
,
String
subName
)
{
private
List
<
EventTrackTypeNumVo
>
queryNumByType
(
String
date
,
Boolean
isPre
,
List
<
Integer
>
types
,
String
subName
)
{
logger
.
info
(
"埋点统计行为统计入参date:{},isPre:{}, types:{}, subName:{}"
,
date
,
isPre
,
types
,
subName
);
if
(
ObjectUtils
.
isEmpty
(
date
)){
if
(
ObjectUtils
.
isEmpty
(
date
)){
date
=
"3"
;
date
=
"3"
;
}
}
...
@@ -434,7 +436,9 @@ public class EventTrackServiceImpl extends ServiceImpl<EventTrackMapper, EventTr
...
@@ -434,7 +436,9 @@ public class EventTrackServiceImpl extends ServiceImpl<EventTrackMapper, EventTr
}
}
eventTrackTypeNumVoList
=
this
.
baseMapper
.
queryNumByTypeInformation
(
null
,
date
,
dateString
,
types
,
subIdList
,
context
.
getSiteId
(),
isPre
);
eventTrackTypeNumVoList
=
this
.
baseMapper
.
queryNumByTypeInformation
(
null
,
date
,
dateString
,
types
,
subIdList
,
context
.
getSiteId
(),
isPre
);
}
else
{
}
else
{
logger
.
info
(
"埋点统计行为统计入参date:{},isPre:{}, types:{}, subName:{}, siteId:{}, subNameList:{}"
,
date
,
isPre
,
types
,
subName
,
context
.
getSiteId
(),
subNameList
);
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
));
}
}
if
(
CollectionUtil
.
isNotEmpty
(
subNameList
)){
if
(
CollectionUtil
.
isNotEmpty
(
subNameList
)){
List
<
EventTrackTypeNumVo
>
finalEventTrackTypeNumVoList
=
eventTrackTypeNumVoList
;
List
<
EventTrackTypeNumVo
>
finalEventTrackTypeNumVoList
=
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