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
952972c5
Commit
952972c5
authored
Dec 08, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改热门词汇
parent
4b0dcc56
Pipeline
#2400
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
fill-manager/src/main/java/com/mortals/xhx/module/matter/web/MatterDatumController.java
.../mortals/xhx/module/matter/web/MatterDatumController.java
+4
-4
No files found.
fill-manager/src/main/java/com/mortals/xhx/module/matter/web/MatterDatumController.java
View file @
952972c5
...
@@ -68,15 +68,15 @@ public class MatterDatumController extends BaseCRUDJsonBodyMappingController<Mat
...
@@ -68,15 +68,15 @@ public class MatterDatumController extends BaseCRUDJsonBodyMappingController<Mat
@Override
@Override
protected
void
doListBefore
(
MatterDatumEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
protected
void
doListBefore
(
MatterDatumEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
if
(
StringUtils
.
isNotEmpty
(
query
.
getMat
ter
Name
()))
{
if
(
StringUtils
.
isNotEmpty
(
query
.
getMat
eriaFull
Name
()))
{
query
.
setMatterName
(
"%"
.
concat
(
query
.
getMat
ter
Name
()).
concat
(
"%"
));
query
.
setMatterName
(
"%"
.
concat
(
query
.
getMat
eriaFull
Name
()).
concat
(
"%"
));
//添加更新热门词汇
//添加更新热门词汇
HotwordEntity
hotwordEntity
=
hotwordService
.
selectOne
(
new
HotwordQuery
().
siteId
(
query
.
getSiteId
()).
hotwords
(
query
.
getMat
ter
Name
()),
context
);
HotwordEntity
hotwordEntity
=
hotwordService
.
selectOne
(
new
HotwordQuery
().
siteId
(
query
.
getSiteId
()).
hotwords
(
query
.
getMat
eriaFull
Name
()),
context
);
if
(
ObjectUtils
.
isEmpty
(
hotwordEntity
))
{
if
(
ObjectUtils
.
isEmpty
(
hotwordEntity
))
{
//新增
//新增
hotwordEntity
=
new
HotwordEntity
();
hotwordEntity
=
new
HotwordEntity
();
hotwordEntity
.
initAttrValue
();
hotwordEntity
.
initAttrValue
();
hotwordEntity
.
setHotwords
(
query
.
getMat
ter
Name
());
hotwordEntity
.
setHotwords
(
query
.
getMat
eriaFull
Name
());
hotwordEntity
.
setSearchCount
(
1
);
hotwordEntity
.
setSearchCount
(
1
);
hotwordService
.
save
(
hotwordEntity
,
context
);
hotwordService
.
save
(
hotwordEntity
,
context
);
}
else
{
}
else
{
...
...
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