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
f7f2e2af
Commit
f7f2e2af
authored
Jul 30, 2021
by
吴泽佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
机构 表字段变更
parent
07dbf80d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
22 deletions
+60
-22
UserInfoNewOrg.java
.../community/api/beans/vo/feign/fatools/UserInfoNewOrg.java
+54
-16
HomePageManager.java
...ain/java/com/tanpu/community/manager/HomePageManager.java
+6
-6
No files found.
community-api/src/main/java/com/tanpu/community/api/beans/vo/feign/fatools/UserInfoNewOrg.java
View file @
f7f2e2af
...
...
@@ -8,6 +8,7 @@ import lombok.Data;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @description: 用户信息 机构
...
...
@@ -24,33 +25,70 @@ public class UserInfoNewOrg implements Serializable {
private
static
final
long
serialVersionUID
=
1L
;
//↓↓↓↓ 机构 ↓↓↓↓
@ApiModelProperty
(
value
=
"申请用户id"
)
private
String
applyUserId
;
// @ApiModelProperty(value = "申请用户id")
// private String applyUserId;
// @ApiModelProperty(value = "机构id")
// private String userIdOrg;
// @ApiModelProperty(value = "公司名称")
// private String companyName;
// @ApiModelProperty(value = "公司全称")
// private String companyFullName;
// @ApiModelProperty(value = "营业执照账号")
// private String businessLicenseNumber;
// @ApiModelProperty(value = "营业执照 图片url")
// private String businessLicenseImageUrl;
// @ApiModelProperty(value = "机构用户身份公函 url")
// private String identityLetterUrl;
// @ApiModelProperty(value = "机构认证信息登记表 url")
// private String orgAuthInfoFormUrl;
// @ApiModelProperty(value = "运营人员 职位")
// private String position;
// @ApiModelProperty(value = "审核状态 1初始提交 2审核不通过 3审核通过")
// private Integer auditStatus;
// @ApiModelProperty(value = "认证名称")
// private String certName;
// @ApiModelProperty(value = "是否匹配现有基金公司 0不匹配 1匹配")
// private Integer isExistOrg;
// @ApiModelProperty(value = "所属基金公司id")
// private String belongOrgId;
// @ApiModelProperty(value = "所属基金公司类型 0公募 1私募")
// private Integer belongOrgType;
@ApiModelProperty
(
value
=
"机构id"
)
private
String
userIdOrg
;
@ApiModelProperty
(
value
=
"公司
名
称"
)
private
String
co
mpany
Name
;
private
String
corpId
;
@ApiModelProperty
(
value
=
"公司
简
称"
)
private
String
co
rpShort
Name
;
@ApiModelProperty
(
value
=
"公司全称"
)
private
String
co
mpanyFull
Name
;
private
String
co
rp
Name
;
@ApiModelProperty
(
value
=
"营业执照账号"
)
private
String
businessLicense
Number
;
private
String
corpOrganization
Number
;
@ApiModelProperty
(
value
=
"营业执照 图片url"
)
private
String
businessLicense
ImageUrl
;
private
String
corpOrganization
ImageUrl
;
@ApiModelProperty
(
value
=
"机构用户身份公函 url"
)
private
String
i
dentityLetterUrl
;
private
String
corpI
dentityLetterUrl
;
@ApiModelProperty
(
value
=
"机构认证信息登记表 url"
)
private
String
org
AuthInfoFormUrl
;
@ApiModelProperty
(
value
=
"
运营人员 职位
"
)
private
String
position
;
@ApiModelProperty
(
value
=
"审核状态
1初始提交 2审核不通过 3审核通过
"
)
private
String
corp
AuthInfoFormUrl
;
@ApiModelProperty
(
value
=
"
申请用户id
"
)
private
String
applyUserId
;
@ApiModelProperty
(
value
=
"审核状态
0待审核 1通过 2驳回
"
)
private
Integer
auditStatus
;
@ApiModelProperty
(
value
=
"审核时间"
)
private
Date
auditTime
;
@ApiModelProperty
(
value
=
"运营人员姓名"
)
private
String
operatorName
;
@ApiModelProperty
(
value
=
"运营人员职位"
)
private
String
operatorPosition
;
@ApiModelProperty
(
value
=
"运营人员手机号码"
)
private
String
operatorMobilePhone
;
@ApiModelProperty
(
value
=
"运营人员电子邮箱"
)
private
String
operatorEmail
;
@ApiModelProperty
(
value
=
"认证名称"
)
private
String
certName
;
@ApiModelProperty
(
value
=
"是否匹配现有基金公司 0不匹配 1匹配"
)
private
Integer
isExistOrg
;
private
Integer
relationFundCompanyExists
;
@ApiModelProperty
(
value
=
"所属基金公司id"
)
private
String
belongOrg
Id
;
private
String
relationFundCompany
Id
;
@ApiModelProperty
(
value
=
"所属基金公司类型 0公募 1私募"
)
private
Integer
belongOrg
Type
;
private
Integer
relationFundCompany
Type
;
}
\ No newline at end of file
community-service/src/main/java/com/tanpu/community/manager/HomePageManager.java
View file @
f7f2e2af
...
...
@@ -95,28 +95,28 @@ public class HomePageManager {
}
else
if
(
UserTypeEnum
.
USER_ORG
.
getCode
()
==
userInfoNew
.
getUserType
())
{
// 机构账号
userInfoNew
.
setPersonalCenterType
(
PersonalCenterTypeEnum
.
ORG
.
getCode
());
if
(
FundCompanyTypeEnum
.
PUBLIC
.
getCode
()
==
userInfoNew
.
getUserInfoNewOrg
().
get
BelongOrgType
()
&&
StringUtils
.
isNotBlank
(
userInfoNew
.
getUserInfoNewOrg
().
getBelongOrg
Id
()))
{
// 公募
if
(
FundCompanyTypeEnum
.
PUBLIC
.
getCode
()
==
userInfoNew
.
getUserInfoNewOrg
().
get
RelationFundCompanyType
()
&&
StringUtils
.
isNotBlank
(
userInfoNew
.
getUserInfoNewOrg
().
getRelationFundCompany
Id
()))
{
// 公募
// 设置 基金数
CommonResp
<
FundCompanySimpleVO
>
companyFundCount
=
feignForPublicFund
.
getCompanyFundCount
(
userInfoNew
.
getUserInfoNewOrg
().
get
BelongOrg
Id
());
CommonResp
<
FundCompanySimpleVO
>
companyFundCount
=
feignForPublicFund
.
getCompanyFundCount
(
userInfoNew
.
getUserInfoNewOrg
().
get
RelationFundCompany
Id
());
userInfoNew
.
setFundNumber
(
companyFundCount
.
isSuccess
()
?
companyFundCount
.
getData
().
getFundCount
()
:
0
);
// 设置成立时间 和 备案编号(公募没有备案编号)
CommonResp
<
FundCompanySimpleVO
>
fundCompanyInfoSimple
=
feignForPublicFund
.
getFundCompanyInfoSimple
(
userInfoNew
.
getUserInfoNewOrg
().
get
BelongOrg
Id
());
CommonResp
<
FundCompanySimpleVO
>
fundCompanyInfoSimple
=
feignForPublicFund
.
getFundCompanyInfoSimple
(
userInfoNew
.
getUserInfoNewOrg
().
get
RelationFundCompany
Id
());
if
(
fundCompanyInfoSimple
.
isSuccess
())
{
FundCompanySimpleVO
data
=
fundCompanyInfoSimple
.
getData
();
userInfoNew
.
setFounded
(
data
.
getEstablishDate
());
userInfoNew
.
setRecordNumber
(
data
.
getRegisterNumber
());
}
}
if
(
FundCompanyTypeEnum
.
PRIVATE
.
getCode
()
==
userInfoNew
.
getUserInfoNewOrg
().
get
BelongOrgType
()
&&
StringUtils
.
isNotBlank
(
userInfoNew
.
getUserInfoNewOrg
().
getBelongOrg
Id
()))
{
// 私募
if
(
FundCompanyTypeEnum
.
PRIVATE
.
getCode
()
==
userInfoNew
.
getUserInfoNewOrg
().
get
RelationFundCompanyType
()
&&
StringUtils
.
isNotBlank
(
userInfoNew
.
getUserInfoNewOrg
().
getRelationFundCompany
Id
()))
{
// 私募
// 设置成立时间 和 备案编号
CommonResp
<
FundCompanySimpleVO
>
fundCompanyInfoSimple
=
feignForFund
.
getFundCompanyInfoSimple
(
userInfoNew
.
getUserInfoNewOrg
().
get
BelongOrg
Id
());
CommonResp
<
FundCompanySimpleVO
>
fundCompanyInfoSimple
=
feignForFund
.
getFundCompanyInfoSimple
(
userInfoNew
.
getUserInfoNewOrg
().
get
RelationFundCompany
Id
());
if
(
fundCompanyInfoSimple
.
isSuccess
())
{
FundCompanySimpleVO
data
=
fundCompanyInfoSimple
.
getData
();
userInfoNew
.
setFounded
(
data
.
getEstablishDate
());
userInfoNew
.
setRecordNumber
(
data
.
getRegisterNumber
());
}
// 设置 基金数
CommonResp
<
FundCompanySimpleVO
>
companyFundCount
=
feignForFund
.
getCompanyFundCount
(
userInfoNew
.
getUserInfoNewOrg
().
get
BelongOrg
Id
());
CommonResp
<
FundCompanySimpleVO
>
companyFundCount
=
feignForFund
.
getCompanyFundCount
(
userInfoNew
.
getUserInfoNewOrg
().
get
RelationFundCompany
Id
());
userInfoNew
.
setFundNumber
(
companyFundCount
.
isSuccess
()
?
companyFundCount
.
getData
().
getFundCount
()
:
0
);
}
//设置团队成员
...
...
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