Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
3597d7df
Commit
3597d7df
authored
Jun 11, 2025
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
21dff7ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
portal-manager/src/main/java/com/mortals/xhx/module/page/service/impl/PageEventServiceImpl.java
...ls/xhx/module/page/service/impl/PageEventServiceImpl.java
+7
-0
No files found.
portal-manager/src/main/java/com/mortals/xhx/module/page/service/impl/PageEventServiceImpl.java
View file @
3597d7df
...
...
@@ -318,6 +318,7 @@ public class PageEventServiceImpl extends AbstractCRUDServiceImpl<PageEventDao,
}
}
for
(
Map
.
Entry
<
String
,
List
<
String
>>
entry
:
group
.
entrySet
())
{
PageCensusPdu
query
=
new
PageCensusPdu
();
query
.
setDeviceNumList
(
entry
.
getValue
());
List
<
PageEventCensusVo
>
list
=
dao
.
getPageClickEventCensus
(
query
);
...
...
@@ -329,6 +330,12 @@ public class PageEventServiceImpl extends AbstractCRUDServiceImpl<PageEventDao,
List
<
PageEventCensusVo
>
listDay
=
dao
.
getPageClickEventCensus
(
query
);
if
(
CollectionUtils
.
isNotEmpty
(
listDay
))
{
cacheService
.
hset
(
RedisKey
.
KEY_DEVICE_EVENT_CLICK_CACHE_DAY
,
entry
.
getKey
(),
listDay
.
get
(
0
));
}
else
{
PageEventCensusVo
init
=
new
PageEventCensusVo
();
init
.
setTotal
(
0
);
init
.
setEventCode
(
"Click"
);
init
.
setEventName
(
"点击"
);
cacheService
.
hset
(
RedisKey
.
KEY_DEVICE_EVENT_CLICK_CACHE_DAY
,
entry
.
getKey
(),
init
);
}
}
}
...
...
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