Commit 4961ff7c authored by 吴泽佳's avatar 吴泽佳

机构成立时间 long->string

parent 576738bf
...@@ -37,8 +37,8 @@ public class UserInfoResp { ...@@ -37,8 +37,8 @@ public class UserInfoResp {
@ApiModelProperty("基金数") @ApiModelProperty("基金数")
private Integer fundNumber = 0; private Integer fundNumber = 0;
@ApiModelProperty("成立时间") @ApiModelProperty("成立时间 yyyy-MM-dd")
private long founded; private String founded;
@ApiModelProperty("备案编号") @ApiModelProperty("备案编号")
private String recordNumber = "-"; private String recordNumber = "-";
@ApiModelProperty("团队成员") @ApiModelProperty("团队成员")
......
...@@ -6,6 +6,7 @@ import com.tanpu.biz.common.enums.user.UserTypeEnum; ...@@ -6,6 +6,7 @@ import com.tanpu.biz.common.enums.user.UserTypeEnum;
import com.tanpu.common.api.CommonResp; import com.tanpu.common.api.CommonResp;
import com.tanpu.common.constant.BizStatus; import com.tanpu.common.constant.BizStatus;
import com.tanpu.common.exception.BizException; 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.qo.FollowQo;
import com.tanpu.community.api.beans.req.homepage.FollowRelReq; import com.tanpu.community.api.beans.req.homepage.FollowRelReq;
import com.tanpu.community.api.beans.req.homepage.QueryFollowReq; import com.tanpu.community.api.beans.req.homepage.QueryFollowReq;
...@@ -112,7 +113,7 @@ public class HomePageManager { ...@@ -112,7 +113,7 @@ public class HomePageManager {
CommonResp<FundCompanySimpleVO> fundCompanyInfoSimple = feignForPublicFund.getFundCompanyInfoSimple(userInfoNew.getUserInfoNewOrg().getRelationFundCompanyId()); CommonResp<FundCompanySimpleVO> fundCompanyInfoSimple = feignForPublicFund.getFundCompanyInfoSimple(userInfoNew.getUserInfoNewOrg().getRelationFundCompanyId());
if (fundCompanyInfoSimple.isSuccess()) { if (fundCompanyInfoSimple.isSuccess()) {
FundCompanySimpleVO data = fundCompanyInfoSimple.getData(); FundCompanySimpleVO data = fundCompanyInfoSimple.getData();
userInfoNew.setFounded(data.getEstablishDate()); userInfoNew.setFounded(data.getEstablishDate() > 0 ? DateUtils.formatYMD(new Date(data.getEstablishDate())) : null);
userInfoNew.setRecordNumber(data.getRegisterNumber()); userInfoNew.setRecordNumber(data.getRegisterNumber());
} }
} }
...@@ -121,7 +122,7 @@ public class HomePageManager { ...@@ -121,7 +122,7 @@ public class HomePageManager {
CommonResp<FundCompanySimpleVO> fundCompanyInfoSimple = feignForFund.getFundCompanyInfoSimple(userInfoNew.getUserInfoNewOrg().getRelationFundCompanyId()); CommonResp<FundCompanySimpleVO> fundCompanyInfoSimple = feignForFund.getFundCompanyInfoSimple(userInfoNew.getUserInfoNewOrg().getRelationFundCompanyId());
if (fundCompanyInfoSimple.isSuccess()) { if (fundCompanyInfoSimple.isSuccess()) {
FundCompanySimpleVO data = fundCompanyInfoSimple.getData(); 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()); userInfoNew.setRecordNumber(data.getRegisterNumber());
} }
// 设置 基金数 // 设置 基金数
......
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