Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tanpu-community
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
探普后端
tanpu-community
Commits
7094af47
Commit
7094af47
authored
Aug 03, 2021
by
吴泽佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加首席投顾数量查询
parent
85dfcd85
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
UserInfoNewChief.java
...ommunity/api/beans/vo/feign/fatools/UserInfoNewChief.java
+4
-2
HomePageManager.java
...ain/java/com/tanpu/community/manager/HomePageManager.java
+7
-0
No files found.
community-api/src/main/java/com/tanpu/community/api/beans/vo/feign/fatools/UserInfoNewChief.java
View file @
7094af47
...
...
@@ -19,9 +19,8 @@ import java.io.Serializable;
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
(
description
=
"用户信息 首席投顾专用信息"
)
public
class
UserInfoNewChief
implements
Serializable
{
public
class
UserInfoNewChief
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"用户id"
)
private
String
userId
;
...
...
@@ -57,4 +56,7 @@ public class UserInfoNewChief implements Serializable {
@ApiModelProperty
(
value
=
"头像url"
)
private
String
headImageUrl
;
@ApiModelProperty
(
value
=
"首席投顾数量"
)
private
Long
size
;
}
\ No newline at end of file
community-service/src/main/java/com/tanpu/community/manager/HomePageManager.java
View file @
7094af47
...
...
@@ -92,6 +92,13 @@ public class HomePageManager {
userInfoNew
.
getUserInfoNewChief
().
setClientId
(
null
);
}
}
// 查询首席投顾数量
CommonResp
<
Page
<
UserInfoNewChief
>>
pageCommonResp
=
feignClientForFatools
.
queryChiefFinancialAdviserList
(
1
,
1
);
if
(
pageCommonResp
.
isSuccess
()){
userInfoNew
.
getUserInfoNewChief
().
setSize
(
pageCommonResp
.
getData
().
getTotalSize
());
}
else
{
userInfoNew
.
getUserInfoNewChief
().
setSize
(
0L
);
}
}
else
if
(
UserTypeEnum
.
USER_ORG
.
getCode
()
==
userInfoNew
.
getUserType
())
{
...
...
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