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
87a45417
Commit
87a45417
authored
Oct 11, 2021
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'erpInter' into 'master'
feat:[none]erp接口加字段 See merge request rays/pcloud-book!1430
parents
4f51c707
3b5aa462
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
+20
-1
BookAdviserBizImpl.java
...ava/com/pcloud/book/book/biz/impl/BookAdviserBizImpl.java
+16
-1
ErpAdviserBookVO.java
...c/main/java/com/pcloud/book/book/vo/ErpAdviserBookVO.java
+4
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookAdviserBizImpl.java
View file @
87a45417
...
...
@@ -1027,7 +1027,8 @@ public class BookAdviserBizImpl implements BookAdviserBiz {
List
<
Long
>
adviserIds
=
Lists
.
newArrayList
(
setAdviserIds
);
List
<
Long
>
channelIds
=
Lists
.
newArrayList
(
setChannelIds
);
List
<
Long
>
bookIds
=
Lists
.
newArrayList
(
setBookIds
);
Map
<
String
,
BookDataStatisticsDTO
>
stringBookDataStatisticsDTOMap
=
mapBookDataStatistics
(
adviserIds
,
bookIds
,
channelIds
);
List
<
Long
>
xiaoRuiEducation
=
channelConsr
.
isXiaoRuiEducation
(
bookIds
);
Map
<
Long
,
UserLogin
>
userLoginInfoMap
=
new
HashMap
<>();
Map
<
Long
,
AdviserBaseInfoDto
>
adviserAgentMap
=
new
HashMap
<>();
Map
<
Long
,
String
>
channelNameMap
=
new
HashMap
<>();
...
...
@@ -1050,6 +1051,20 @@ public class BookAdviserBizImpl implements BookAdviserBiz {
}
List
<
Long
>
list
=
bookFundBiz
.
listHaveFundBooks
(
bookIds
);
for
(
ErpAdviserBookVO
bookVO
:
bookVOS
)
{
if
(
bookVO
.
getAdviserId
()!=
null
&&
bookVO
.
getChannelId
()!=
null
&&
bookVO
.
getBookId
()!=
null
)
{
String
key
=
bookVO
.
getBookId
()
+
"_"
+
bookVO
.
getChannelId
()
+
"_"
+
bookVO
.
getAdviserId
();
if
(
stringBookDataStatisticsDTOMap
.
containsKey
(
key
)){
BookDataStatisticsDTO
bookDataStatisticsDTO
=
stringBookDataStatisticsDTOMap
.
get
(
key
);
bookVO
.
setScanCount
(
bookDataStatisticsDTO
.
getScanCount
().
intValue
());
bookVO
.
setUserCount
(
bookDataStatisticsDTO
.
getUserCount
().
intValue
());
}
}
if
(
bookVO
.
getBookId
()!=
null
){
if
(
xiaoRuiEducation
.
contains
(
bookVO
.
getBookId
())){
bookVO
.
setXiaoRuiEducation
(
1
);
}
}
Long
adviserId
=
bookVO
.
getAdviserId
();
if
(
adviserId
!=
null
&&
MapUtils
.
isNotEmpty
(
userLoginInfoMap
)
&&
userLoginInfoMap
.
containsKey
(
adviserId
))
{
UserLogin
userLogin
=
userLoginInfoMap
.
get
(
adviserId
);
...
...
pcloud-service-book/src/main/java/com/pcloud/book/book/vo/ErpAdviserBookVO.java
View file @
87a45417
...
...
@@ -60,4 +60,8 @@ public class ErpAdviserBookVO implements Serializable {
@ApiModelProperty
(
"手机号"
)
private
String
phoneNum
;
private
int
scanCount
;
private
int
userCount
;
private
int
xiaoRuiEducation
;
}
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