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
96cda525
Commit
96cda525
authored
Sep 05, 2025
by
“Kongxiangkun”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作台面板问题修复
parent
85b4033f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
+6
-11
cloud-site-service/src/main/java/com/yizhi/site/application/mapper/EventTrackMapper.java
+1
-1
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/EventTrackServiceImpl.java
+5
-10
No files found.
cloud-site-service/src/main/java/com/yizhi/site/application/mapper/EventTrackMapper.java
View file @
96cda525
...
...
@@ -30,7 +30,7 @@ public interface EventTrackMapper extends BaseMapper<EventTrack> {
List
<
EventTrackTypeNumVo
>
queryNumByType
(
@Param
(
"deptId"
)
Long
deptId
,
@Param
(
"date"
)
String
date
,
@Param
(
"dateString"
)
String
dateString
,
@Param
(
"types"
)
List
<
Integer
>
types
,
@Param
(
"subNameList"
)
List
<
Long
>
subNameList
,
@Param
(
"siteId"
)
Long
siteId
,
@Param
(
"isPre"
)
Boolean
isPre
);
List
<
EventTrackTypeNumVo
>
queryNumByTypeInformation
(
@Param
(
"deptId"
)
Long
deptId
,
@Param
(
"date"
)
String
date
,
@Param
(
"dateString"
)
String
dateString
,
@Param
(
"types"
)
List
<
Integer
>
types
,
@Param
(
"subNameList"
)
List
<
Stri
ng
>
subNameList
,
@Param
(
"siteId"
)
Long
siteId
,
List
<
EventTrackTypeNumVo
>
queryNumByTypeInformation
(
@Param
(
"deptId"
)
Long
deptId
,
@Param
(
"date"
)
String
date
,
@Param
(
"dateString"
)
String
dateString
,
@Param
(
"types"
)
List
<
Integer
>
types
,
@Param
(
"subNameList"
)
List
<
Lo
ng
>
subNameList
,
@Param
(
"siteId"
)
Long
siteId
,
@Param
(
"isPre"
)
Boolean
isPre
);
List
<
EventTrackTypeNumVo
>
queryTgNumByDept
(
@Param
(
"deptName"
)
String
deptName
,
@Param
(
"typeId"
)
Long
typeId
,
@Param
(
"siteId"
)
Long
siteId
);
...
...
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/EventTrackServiceImpl.java
View file @
96cda525
...
...
@@ -423,19 +423,14 @@ public class EventTrackServiceImpl extends ServiceImpl<EventTrackMapper, EventTr
}
}
List
<
EventTrackTypeNumVo
>
eventTrackTypeNumVoList
=
null
;
logger
.
info
(
"埋点统计行为统计入参date:{},isPre:{}, types:{}, dateString:{}, siteId:{}, subIdList:{}"
,
date
,
isPre
,
types
,
dateString
,
context
.
getSiteId
(),
subIdList
);
//判断是否获取阅读量
// if(types.get(0).equals(6)){
//阅读量
// List<String> subIdList = Lists.newArrayList();
// for(DataClassification item : classificationList){
// subIdList.add(item.getId().toString());
// }
// eventTrackTypeNumVoList = this.baseMapper.queryNumByTypeInformation(null,date,dateString,types,subIdList,context.getSiteId(), isPre);
// } else {
logger
.
info
(
"埋点统计行为统计入参date:{},isPre:{}, types:{}, subName:{}, siteId:{}, subIdList:{}"
,
date
,
isPre
,
types
,
subIdList
,
context
.
getSiteId
(),
subIdList
);
if
(
types
.
get
(
0
).
equals
(
6
)){
eventTrackTypeNumVoList
=
this
.
baseMapper
.
queryNumByTypeInformation
(
null
,
date
,
dateString
,
types
,
subIdList
,
context
.
getSiteId
(),
isPre
);
}
else
{
eventTrackTypeNumVoList
=
this
.
baseMapper
.
queryNumByType
(
null
,
date
,
dateString
,
types
,
subIdList
,
context
.
getSiteId
(),
isPre
);
logger
.
info
(
"埋点统计行为统计查询结果:{}"
,
JSONUtil
.
toJsonStr
(
eventTrackTypeNumVoList
));
//
}
}
// if(CollectionUtil.isNotEmpty(subNameList)){
// List<EventTrackTypeNumVo> finalEventTrackTypeNumVoList = eventTrackTypeNumVoList;
// subNameList.stream().forEach(name->{
...
...
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