Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
enterprise-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
赵啸非
enterprise-platform
Commits
a7204806
Commit
a7204806
authored
Dec 06, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加公司背景图片字段
parent
65c04114
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
enterprise-manager/src/main/java/com/mortals/xhx/module/news/service/impl/NewsServiceImpl.java
...mortals/xhx/module/news/service/impl/NewsServiceImpl.java
+1
-1
No files found.
enterprise-manager/src/main/java/com/mortals/xhx/module/news/service/impl/NewsServiceImpl.java
View file @
a7204806
...
...
@@ -54,7 +54,7 @@ public class NewsServiceImpl extends AbstractCRUDServiceImpl<NewsDao, NewsEntity
List
<
NewsUpEntity
>
upList
=
newsUpService
.
find
(
new
NewsUpQuery
().
newsIdList
(
newsIdList
).
upId
(
context
.
getUser
().
getId
()));
Map
<
Long
,
NewsUpEntity
>
upMap
=
new
HashMap
<>();
if
(
CollectionUtils
.
isNotEmpty
(
upList
)){
upMap
=
upList
.
parallelStream
().
collect
(
Collectors
.
toMap
(
x
->
x
.
getId
(),
z
->
z
,
(
o
,
n
)
->
n
));
upMap
=
upList
.
parallelStream
().
collect
(
Collectors
.
toMap
(
x
->
x
.
get
News
Id
(),
z
->
z
,
(
o
,
n
)
->
n
));
}
List
<
NewsShareEntity
>
shareList
=
newsShareService
.
find
(
new
NewsShareQuery
().
newsIdList
(
newsIdList
).
createUserId
(
context
.
getUser
().
getId
()));
Map
<
Long
,
NewsShareEntity
>
shareMap
=
new
HashMap
<>();
...
...
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