Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
6b66ad10
Commit
6b66ad10
authored
Apr 29, 2020
by
吴博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
54098ff1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
RightsSettingBizImpl.java
...oud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
+1
-3
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
View file @
6b66ad10
...
...
@@ -914,14 +914,12 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
if
(
ListUtils
.
isEmpty
(
list
))
{
return
new
ArrayList
<>();
}
//先获取阅读计划,若阅读计划为空则推资讯
list
=
setAppletNews4Week
(
rightsSettingId
,
rightsType
,
wechatUserId
,
list
);
List
<
Long
>
rightsSettingItemIds
=
list
.
stream
().
filter
(
e
->
YesOrNoEnums
.
YES
.
getValue
().
equals
(
e
.
getIsOpen
())).
map
(
e
->
e
.
getId
()).
collect
(
Collectors
.
toList
());
if
(!
ListUtils
.
isEmpty
(
rightsSettingItemIds
))
{
List
<
RightsCustomRelation
>
rightsCustomRelations
=
rightsCustomRelationDao
.
getCustomByItemIds
(
rightsSettingItemIds
);
list
=
setReadPlan4Week
(
rightsCustomRelations
,
list
);
}
else
{
list
=
setAppletNews4Week
(
rightsSettingId
,
rightsType
,
wechatUserId
,
list
);
}
return
list
;
}
...
...
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