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
4961ff7c
Commit
4961ff7c
authored
Aug 04, 2021
by
吴泽佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
机构成立时间 long->string
parent
576738bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
UserInfoResp.java
...pu/community/api/beans/vo/feign/fatools/UserInfoResp.java
+2
-2
HomePageManager.java
...ain/java/com/tanpu/community/manager/HomePageManager.java
+3
-2
No files found.
community-api/src/main/java/com/tanpu/community/api/beans/vo/feign/fatools/UserInfoResp.java
View file @
4961ff7c
...
...
@@ -37,8 +37,8 @@ public class UserInfoResp {
@ApiModelProperty
(
"基金数"
)
private
Integer
fundNumber
=
0
;
@ApiModelProperty
(
"成立时间"
)
private
lo
ng
founded
;
@ApiModelProperty
(
"成立时间
yyyy-MM-dd
"
)
private
Stri
ng
founded
;
@ApiModelProperty
(
"备案编号"
)
private
String
recordNumber
=
"-"
;
@ApiModelProperty
(
"团队成员"
)
...
...
community-service/src/main/java/com/tanpu/community/manager/HomePageManager.java
View file @
4961ff7c
...
...
@@ -6,6 +6,7 @@ import com.tanpu.biz.common.enums.user.UserTypeEnum;
import
com.tanpu.common.api.CommonResp
;
import
com.tanpu.common.constant.BizStatus
;
import
com.tanpu.common.exception.BizException
;
import
com.tanpu.common.util.DateUtils
;
import
com.tanpu.community.api.beans.qo.FollowQo
;
import
com.tanpu.community.api.beans.req.homepage.FollowRelReq
;
import
com.tanpu.community.api.beans.req.homepage.QueryFollowReq
;
...
...
@@ -112,7 +113,7 @@ public class HomePageManager {
CommonResp
<
FundCompanySimpleVO
>
fundCompanyInfoSimple
=
feignForPublicFund
.
getFundCompanyInfoSimple
(
userInfoNew
.
getUserInfoNewOrg
().
getRelationFundCompanyId
());
if
(
fundCompanyInfoSimple
.
isSuccess
())
{
FundCompanySimpleVO
data
=
fundCompanyInfoSimple
.
getData
();
userInfoNew
.
setFounded
(
data
.
getEstablishDate
());
userInfoNew
.
setFounded
(
data
.
getEstablishDate
()
>
0
?
DateUtils
.
formatYMD
(
new
Date
(
data
.
getEstablishDate
()))
:
null
);
userInfoNew
.
setRecordNumber
(
data
.
getRegisterNumber
());
}
}
...
...
@@ -121,7 +122,7 @@ public class HomePageManager {
CommonResp
<
FundCompanySimpleVO
>
fundCompanyInfoSimple
=
feignForFund
.
getFundCompanyInfoSimple
(
userInfoNew
.
getUserInfoNewOrg
().
getRelationFundCompanyId
());
if
(
fundCompanyInfoSimple
.
isSuccess
())
{
FundCompanySimpleVO
data
=
fundCompanyInfoSimple
.
getData
();
userInfoNew
.
setFounded
(
data
.
getEstablishDate
()
>
0
?
data
.
getEstablishDate
(
)
:
null
);
userInfoNew
.
setFounded
(
data
.
getEstablishDate
()
>
0
?
DateUtils
.
formatYMD
(
new
Date
(
data
.
getEstablishDate
())
)
:
null
);
userInfoNew
.
setRecordNumber
(
data
.
getRegisterNumber
());
}
// 设置 基金数
...
...
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