Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fill-system
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
廖旭伟
fill-system
Commits
8fbe9ee4
Commit
8fbe9ee4
authored
Jun 05, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
热门词汇修改
parent
3eff261c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
fill-manager/src/main/java/com/mortals/xhx/module/baseset/service/impl/BasesetServiceImpl.java
...s/xhx/module/baseset/service/impl/BasesetServiceImpl.java
+3
-1
fill-manager/src/main/java/com/mortals/xhx/module/hotword/web/HotwordController.java
...com/mortals/xhx/module/hotword/web/HotwordController.java
+15
-0
No files found.
fill-manager/src/main/java/com/mortals/xhx/module/baseset/service/impl/BasesetServiceImpl.java
View file @
8fbe9ee4
...
...
@@ -82,8 +82,10 @@ public class BasesetServiceImpl extends AbstractCRUDServiceImpl<BasesetDao, Base
}
else
{
item
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
item
.
setCreateTime
(
new
Date
());
if
(!
ObjectUtils
.
isEmpty
(
item
.
getHotwords
())){
hotwordService
.
save
(
item
,
context
);
}
}
});
}
}
...
...
fill-manager/src/main/java/com/mortals/xhx/module/hotword/web/HotwordController.java
View file @
8fbe9ee4
...
...
@@ -63,6 +63,21 @@ public class HotwordController extends BaseCRUDJsonBodyMappingController<Hotword
item
.
setUpdateTime
(
new
Date
());
}
});
Iterator
<
HotwordEntity
>
iterator
=
list
.
iterator
();
while
(
iterator
.
hasNext
())
{
HotwordEntity
item
=
iterator
.
next
();
if
(
ObjectUtils
.
isEmpty
(
item
.
getHotwords
())){
iterator
.
remove
();
continue
;
}
HotwordEntity
hotwordEntity
=
this
.
service
.
selectOne
(
new
HotwordQuery
().
siteId
(
item
.
getSiteId
()).
hotwords
(
item
.
getHotwords
()));
if
(!
ObjectUtils
.
isEmpty
(
hotwordEntity
))
{
item
.
setId
(
hotwordEntity
.
getId
());
item
.
setSearchCount
(
hotwordEntity
.
getSearchCount
());
item
.
setUpdateTime
(
new
Date
());
}
}
super
.
batchSaveBefore
(
list
,
model
,
context
);
}
...
...
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