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
76c9d17e
Commit
76c9d17e
authored
Jun 09, 2021
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bug/102930zy' into 'master'
bug: [none] 接口500 See merge request rays/pcloud-book!1328
parents
744b79c7
9628ce58
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
BookAdviserBizImpl.java
...ava/com/pcloud/book/book/biz/impl/BookAdviserBizImpl.java
+1
-1
RightsSettingBizImpl.java
...oud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
+2
-2
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookAdviserBizImpl.java
View file @
76c9d17e
...
...
@@ -1244,7 +1244,7 @@ public class BookAdviserBizImpl implements BookAdviserBiz {
//之前小睿的码。现在叫rays码
List
<
Long
>
ruiList
=
qrcodeSceneDtos
.
stream
().
filter
(
a
->
null
!=
a
.
getQrcodeType
()
&&
(
"ali"
.
equalsIgnoreCase
(
a
.
getQrcodeType
())
||
"own"
.
equalsIgnoreCase
(
a
.
getQrcodeType
()))).
map
(
x
->
x
.
getSceneId
()).
collect
(
Collectors
.
toList
());
//小睿的资源数量。要在resource_page_item查
Map
<
Long
,
BookGroupServeCountDTO
>
ruiMap
=
resourcePageItemDao
.
mapQrServeCount
(
ruiList
);
Map
<
Long
,
BookGroupServeCountDTO
>
ruiMap
=
CollUtil
.
isNotEmpty
(
ruiList
)
?
resourcePageItemDao
.
mapQrServeCount
(
ruiList
)
:
new
HashMap
<>(
);
// 企业微信群资源数
Map
<
Long
,
BookGroupServeCountDTO
>
bookQrcodeWxworkMap
=
bookQrcodeWxworkBiz
.
mapWxWorkServeCount4SceneIds
(
sceneIds
,
BookQrcodeType
.
OFFICIAL_ACCOUNTS
.
getCode
());
//计算码的销售额
...
...
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
View file @
76c9d17e
...
...
@@ -4259,9 +4259,9 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
for
(
RightsNowItem
rightsNowItem
:
itemList
)
{
String
typeCode
=
rightsNowItem
.
getServeTypeCode
();
//视频课直播课
if
(
typeCode
.
equals
(
AppTypeEnum
.
VIDEO
.
value
)
||
typeCode
.
equals
(
ProductTypeConstant
.
VIDEO
)
if
(
null
!=
typeCode
&&
(
typeCode
.
equals
(
AppTypeEnum
.
VIDEO
.
value
)
||
typeCode
.
equals
(
ProductTypeConstant
.
VIDEO
)
||
typeCode
.
equals
(
ProductTypeConstant
.
VIDEO_SCHEDULE
)
||
typeCode
.
equals
(
AppTypeEnum
.
LIVE_TIMETABLE
.
value
)
||
typeCode
.
equals
(
ProductTypeConstant
.
LIVE
)
||
typeCode
.
equals
(
ProductTypeConstant
.
SCHEDULE
))
{
||
typeCode
.
equals
(
ProductTypeConstant
.
LIVE
)
||
typeCode
.
equals
(
ProductTypeConstant
.
SCHEDULE
))
)
{
courseList
.
add
(
rightsNowItem
);
}
}
...
...
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