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
42c513a8
Commit
42c513a8
authored
Aug 13, 2020
by
郑永强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: [none] 解决资源统计只有1v1时统计错误的问题
parent
0bcb938b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
BookAdviserBizImpl.java
...ava/com/pcloud/book/book/biz/impl/BookAdviserBizImpl.java
+5
-5
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookAdviserBizImpl.java
View file @
42c513a8
...
...
@@ -1095,14 +1095,14 @@ public class BookAdviserBizImpl implements BookAdviserBiz {
added
=
true
;
}
}
if
(
bookGroupServeCountDTO
!=
null
)
{
// 设置默认值
int
rightsCount
=
0
;
if
(
bookGroupServeCountDTO
!=
null
&&
JoinGroupTypeEnum
.
XIAORUI
.
getCode
().
equals
(
bookGroupServeCountDTO
.
getJoinGroupType
()))
{
// 如果是小睿码,则设置权益数
if
(
JoinGroupTypeEnum
.
XIAORUI
.
getCode
().
equals
(
bookGroupServeCountDTO
.
getJoinGroupType
()))
{
int
rightsCount
=
null
==
bookGroupServeCountDTO
.
getRightsCount
()
?
0
:
bookGroupServeCountDTO
.
getRightsCount
();
rightsCount
=
null
==
bookGroupServeCountDTO
.
getRightsCount
()
?
0
:
bookGroupServeCountDTO
.
getRightsCount
();
}
bookResourceStatisticsDTO
.
setRightsCount
(
rightsCount
);
bookResourceStatisticsDTO
.
setServeTotalCount
(
bookResourceStatisticsDTO
.
getServeCount
()
+
rightsCount
);
}
}
mapBookResourceStatistics
.
put
(
bookChannelAdviserId
,
bookResourceStatisticsDTO
);
}
return
mapBookResourceStatistics
;
...
...
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