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
be653c8d
Commit
be653c8d
authored
Dec 22, 2020
by
朱亚洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug:[1027227]本书服务展示不全
parent
09ebb824
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
BookGroupBizImpl.java
...java/com/pcloud/book/group/biz/impl/BookGroupBizImpl.java
+2
-3
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/BookGroupBizImpl.java
View file @
be653c8d
...
@@ -5220,7 +5220,6 @@ public class BookGroupBizImpl implements BookGroupBiz {
...
@@ -5220,7 +5220,6 @@ public class BookGroupBizImpl implements BookGroupBiz {
@Override
@Override
public
List
<
BookServeDTO
>
getBookAndBookGroupServeIdsFive
(
Long
adviserId
,
Long
bookId
,
Long
channelId
)
{
public
List
<
BookServeDTO
>
getBookAndBookGroupServeIdsFive
(
Long
adviserId
,
Long
bookId
,
Long
channelId
)
{
List
<
BookServeDTO
>
serveDTOList
=
new
ArrayList
<>();
List
<
BookServeDTO
>
serveDTOList
=
new
ArrayList
<>();
BookGroupDTO
bookGroupDTO
=
bookGroupDao
.
getDTOByBookId
(
bookId
,
channelId
,
adviserId
);
List
<
Long
>
appIds
=
new
ArrayList
<>();
List
<
Long
>
appIds
=
new
ArrayList
<>();
List
<
Long
>
productIds
=
new
ArrayList
<>();
List
<
Long
>
productIds
=
new
ArrayList
<>();
AccountSettingDto
accountSettingDto
=
qrcodeSceneConsr
.
getWechatInfo
(
channelId
);
AccountSettingDto
accountSettingDto
=
qrcodeSceneConsr
.
getWechatInfo
(
channelId
);
...
@@ -5260,9 +5259,9 @@ public class BookGroupBizImpl implements BookGroupBiz {
...
@@ -5260,9 +5259,9 @@ public class BookGroupBizImpl implements BookGroupBiz {
}
}
}
}
}
}
if
(
null
!=
bookGroupDTO
&&
serveDTOList
.
size
()<
5
)
{
//有社群书
if
(
serveDTOList
.
size
()<
5
)
{
//有社群书
//社群书配置资源
//社群书配置资源
List
<
BookGroupServe
>
bookGroupServes
=
bookGroupServeDao
.
get
ListByBookGroupId
(
bookGroupDTO
.
getId
()
);
List
<
BookGroupServe
>
bookGroupServes
=
bookGroupServeDao
.
get
ServeListByBook
(
bookId
,
channelId
,
adviserId
);
if
(!
ListUtils
.
isEmpty
(
bookGroupServes
))
{
if
(!
ListUtils
.
isEmpty
(
bookGroupServes
))
{
for
(
BookGroupServe
bookGroupServe
:
bookGroupServes
)
{
for
(
BookGroupServe
bookGroupServe
:
bookGroupServes
)
{
if
(
serveDTOList
.
size
()>=
5
){
if
(
serveDTOList
.
size
()>=
5
){
...
...
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