Commit 7094af47 authored by 吴泽佳's avatar 吴泽佳

增加首席投顾数量查询

parent 85dfcd85
...@@ -19,9 +19,8 @@ import java.io.Serializable; ...@@ -19,9 +19,8 @@ import java.io.Serializable;
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor
@ApiModel(description = "用户信息 首席投顾专用信息") @ApiModel(description = "用户信息 首席投顾专用信息")
public class UserInfoNewChief implements Serializable { public class UserInfoNewChief {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "用户id") @ApiModelProperty(value = "用户id")
private String userId; private String userId;
...@@ -57,4 +56,7 @@ public class UserInfoNewChief implements Serializable { ...@@ -57,4 +56,7 @@ public class UserInfoNewChief implements Serializable {
@ApiModelProperty(value = "头像url") @ApiModelProperty(value = "头像url")
private String headImageUrl; private String headImageUrl;
@ApiModelProperty(value = "首席投顾数量")
private Long size;
} }
\ No newline at end of file
...@@ -92,6 +92,13 @@ public class HomePageManager { ...@@ -92,6 +92,13 @@ public class HomePageManager {
userInfoNew.getUserInfoNewChief().setClientId(null); 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()) { } else if (UserTypeEnum.USER_ORG.getCode() == userInfoNew.getUserType()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment