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
681c2558
Commit
681c2558
authored
Jul 22, 2021
by
吴泽佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释修改
parent
914e30e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
HomePageManager.java
...ain/java/com/tanpu/community/manager/HomePageManager.java
+3
-3
No files found.
community-service/src/main/java/com/tanpu/community/manager/HomePageManager.java
View file @
681c2558
...
@@ -75,9 +75,9 @@ public class HomePageManager {
...
@@ -75,9 +75,9 @@ public class HomePageManager {
CommonResp
<
UserInfoNew
>
queryUsersListNew
=
feignClientForFatools
.
queryUsersListNew
(
StringUtils
.
isNotBlank
(
userId
)
?
userId
:
userIdMyself
);
CommonResp
<
UserInfoNew
>
queryUsersListNew
=
feignClientForFatools
.
queryUsersListNew
(
StringUtils
.
isNotBlank
(
userId
)
?
userId
:
userIdMyself
);
if
(
queryUsersListNew
.
isNotSuccess
())
new
BizException
(
"内部接口调用失败"
);
if
(
queryUsersListNew
.
isNotSuccess
())
new
BizException
(
"内部接口调用失败"
);
UserInfoNew
userInfoNew
=
queryUsersListNew
.
getData
();
UserInfoNew
userInfoNew
=
queryUsersListNew
.
getData
();
// 关注 按钮的显示逻辑
if
(
StringUtils
.
isNotBlank
(
userId
)
&&
!
StringUtils
.
equals
(
userIdMyself
,
userId
))
{
//查询别人的个人主页
if
(
StringUtils
.
isNotBlank
(
userId
)
&&
!
StringUtils
.
equals
(
userIdMyself
,
userId
))
{
//查询别人的个人主页
//
是否已关注
//
关注 按钮的显示逻辑
FollowRelEntity
followRelEntity
=
followRelService
.
queryRecord
(
userId
,
userIdMyself
);
FollowRelEntity
followRelEntity
=
followRelService
.
queryRecord
(
userId
,
userIdMyself
);
if
(
ObjectUtils
.
allNotNull
(
followRelEntity
)
&&
BizStatus
.
DeleteTag
.
tag_init
==
followRelEntity
.
getDeleteTag
()){
if
(
ObjectUtils
.
allNotNull
(
followRelEntity
)
&&
BizStatus
.
DeleteTag
.
tag_init
==
followRelEntity
.
getDeleteTag
()){
userInfoNew
.
setShowFollowStatus
(
1
);
// 已关注
userInfoNew
.
setShowFollowStatus
(
1
);
// 已关注
...
@@ -94,8 +94,8 @@ public class HomePageManager {
...
@@ -94,8 +94,8 @@ public class HomePageManager {
// 主页类型 显示逻辑
// 主页类型 显示逻辑
if
(
50
==
userInfoNew
.
getLevelGrade
()){
if
(
50
==
userInfoNew
.
getLevelGrade
()){
// 首席投顾
userInfoNew
.
setPersonalCenterType
(
2
);
userInfoNew
.
setPersonalCenterType
(
2
);
// 首席投顾 添加专栏信息 (前端自己取)
// 成功案例客户
// 成功案例客户
// 默认显示该投顾管理的客户里,总资产最高的客户
// 默认显示该投顾管理的客户里,总资产最高的客户
if
(
StringUtils
.
isBlank
(
userInfoNew
.
getUserInfoNewChief
().
getClientId
()))
{
if
(
StringUtils
.
isBlank
(
userInfoNew
.
getUserInfoNewChief
().
getClientId
()))
{
...
...
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