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
f1adfe69
Commit
f1adfe69
authored
Jul 21, 2020
by
吴博
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://begitlab.chubanyun.me:12122/rays/pcloud-book
parents
5dd26480
6268d168
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
AppletUserBookcaseBizImpl.java
...cloud/book/applet/biz/impl/AppletUserBookcaseBizImpl.java
+2
-2
RightsSettingBizImpl.java
...oud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
+6
-4
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/applet/biz/impl/AppletUserBookcaseBizImpl.java
View file @
f1adfe69
...
...
@@ -105,8 +105,8 @@ public class AppletUserBookcaseBizImpl implements AppletUserBookcaseBiz {
map
.
put
(
"wechatUserId"
,
wechatUserId
);
PageBeanNew
<
AppletUserBookcaseDTO
>
pageBeanNew
=
appletUserBookcaseDao
.
listPageNew
(
new
PageParam
(
currentPage
,
numPerPage
),
map
,
"listByWechatUserId"
);
if
(
null
==
pageBeanNew
||
ListUtils
.
isEmpty
(
pageBeanNew
.
getRecordList
()))
{
return
new
PageBeanNew
<>(
currentPage
,
numPerPage
,
0
,
new
ArrayList
<>());
if
(
ListUtils
.
isEmpty
(
pageBeanNew
.
getRecordList
()))
{
return
new
PageBeanNew
<>(
currentPage
,
numPerPage
,
pageBeanNew
.
getTotalCount
()
,
new
ArrayList
<>());
}
fillTempletName
(
pageBeanNew
.
getRecordList
());
fillRightsSettingAndResourceCount
(
pageBeanNew
.
getRecordList
());
...
...
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
View file @
f1adfe69
...
...
@@ -1041,8 +1041,9 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
if
(
null
==
rightsSettingTitle
||
null
==
rightsSettingTitle
.
getRightsSettingId
())
{
return
;
}
Integer
collage
=
1
;
List
<
RightsNowItem
>
items
=
Lists
.
newArrayList
();
if
(
CollectionUtils
.
isEmpty
(
nowItems
))
{
if
(
CollectionUtils
.
isEmpty
(
nowItems
)
&&
rightsSettingTitle
.
getCollageState
().
intValue
()
==
collage
.
intValue
()
)
{
// 填充咨询
supplementNews
(
rightsSettingId
,
wechatUserId
,
rightsClassifyId
,
top
,
items
,
bookId
,
itemType
.
value
);
// 处理权益中的应用/作品
...
...
@@ -1061,7 +1062,6 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
}
// 此处只有资讯才会补充资讯
if
(
RightsServeTypeEnum
.
NEWS
.
name
().
equalsIgnoreCase
(
rightsSettingTitle
.
getServeType
())){
Integer
collage
=
1
;
if
(
items
.
size
()
<
top
&&
rightsSettingTitle
.
getCollageState
().
intValue
()
==
collage
.
intValue
()){
// 填充咨询
supplementNews
(
rightsSettingId
,
wechatUserId
,
rightsClassifyId
,
top
-
items
.
size
(),
items
,
bookId
,
itemType
.
value
);
...
...
@@ -1822,8 +1822,10 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
return
;
}
Integer
collage
=
1
;
//状态为拼群
List
<
RightsNowItem
>
items
=
Lists
.
newArrayList
();
if
(
CollectionUtils
.
isEmpty
(
nowItems
))
{
if
(
CollectionUtils
.
isEmpty
(
nowItems
)
&&
rightsSettingTitle
.
getCollageState
().
intValue
()
==
collage
.
intValue
())
{
// 填充群
supplementGroup
(
rightsSettingId
,
wechatUserId
,
rightsClassifyId
,
top
,
items
,
bookId
,
null
);
// 处理权益中的应用/作品
...
...
@@ -1838,7 +1840,7 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
items
.
add
(
nowItem
);
}
}
Integer
collage
=
1
;
//状态为拼群
if
(
items
.
size
()
<
top
&&
rightsSettingTitle
.
getCollageState
().
intValue
()
==
collage
.
intValue
())
{
// 填充咨询
supplementGroup
(
rightsSettingId
,
wechatUserId
,
rightsClassifyId
,
top
,
items
,
bookId
,
null
);
...
...
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