提交 2b8315db 作者: zhenjie

客户列表添加实名认证字段

上级 974208e3
...@@ -28,7 +28,7 @@ public class RealNameAuthDetailDTO implements Serializable { ...@@ -28,7 +28,7 @@ public class RealNameAuthDetailDTO implements Serializable {
private String frontIdImg; private String frontIdImg;
@ApiModelProperty(value = "身份证背面") @ApiModelProperty(value = "身份证背面")
private String backIdImg; private String backIdImg;
@ApiModelProperty(value = "身份证") @ApiModelProperty(value = "身份证")
private String idNumber; private String idNumber;
@ApiModelProperty(value = "姓名") @ApiModelProperty(value = "姓名")
private String userName; private String userName;
......
...@@ -67,4 +67,6 @@ public class UserAccountVO implements Serializable { ...@@ -67,4 +67,6 @@ public class UserAccountVO implements Serializable {
private UserRcdVO userRcdVO; private UserRcdVO userRcdVO;
@ApiModelProperty(value = "是否是单位管理员") @ApiModelProperty(value = "是否是单位管理员")
private Integer leader; private Integer leader;
@ApiModelProperty(value = "实名认证状态")
private Integer realNameAuthStatus;
} }
...@@ -48,6 +48,10 @@ public class UserAccountDO implements Serializable { ...@@ -48,6 +48,10 @@ public class UserAccountDO implements Serializable {
private String companyName; private String companyName;
private Integer leader; private Integer leader;
/** /**
* 实名认证状态
*/
private Integer realNameAuthStatus;
/**
* 邀请人数 * 邀请人数
*/ */
private Integer inviteCount; private Integer inviteCount;
...@@ -93,6 +97,7 @@ public class UserAccountDO implements Serializable { ...@@ -93,6 +97,7 @@ public class UserAccountDO implements Serializable {
.cooperationTagVOS(CollectionUtils.isEmpty(this.cooperationTagDOS) ? null : this.cooperationTagDOS.stream().map(CooperationTagDO::buildCooperationTagVO).collect(Collectors.toList())) .cooperationTagVOS(CollectionUtils.isEmpty(this.cooperationTagDOS) ? null : this.cooperationTagDOS.stream().map(CooperationTagDO::buildCooperationTagVO).collect(Collectors.toList()))
.userRcdVO(this.userRcdDO == null ? null : this.userRcdDO.buildUserRcdVO()) .userRcdVO(this.userRcdDO == null ? null : this.userRcdDO.buildUserRcdVO())
.leader(this.leader) .leader(this.leader)
.realNameAuthStatus(this.realNameAuthStatus)
.build(); .build();
} }
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
<result property="companyAuthStatus" column="companyAuthStatus"/> <result property="companyAuthStatus" column="companyAuthStatus"/>
<result property="companyName" column="company_name"/> <result property="companyName" column="company_name"/>
<result property="realNameAuthStatus" column="realNameAuthStatus"/>
<association property="userRcdDO" javaType="com.mmc.iuav.user.entity.UserRcdDO"> <association property="userRcdDO" javaType="com.mmc.iuav.user.entity.UserRcdDO">
<id property="id" column="user_rcd_id"/> <id property="id" column="user_rcd_id"/>
<result property="rcdUserId" column="rcd_user_id"/> <result property="rcdUserId" column="rcd_user_id"/>
...@@ -291,7 +292,6 @@ ...@@ -291,7 +292,6 @@
SELECT SELECT
ua.id, ua.id,
ua.phone_num, ua.phone_num,
ua.user_name,
ua.nick_name, ua.nick_name,
ua.user_img, ua.user_img,
ua.open_id, ua.open_id,
...@@ -309,13 +309,16 @@ ...@@ -309,13 +309,16 @@
rcd.id AS user_rcd_id, rcd.id AS user_rcd_id,
rcd.rcd_user_id, rcd.rcd_user_id,
r_user.nick_name AS rcdNickname, r_user.nick_name AS rcdNickname,
r_user.user_name AS rcdUserName r_user.user_name AS rcdUserName,
rna.user_name,
rna.check_status as realNameAuthStatus
FROM FROM
user_account ua user_account ua
LEFT JOIN company_member cm ON cm.user_account_id = ua.id LEFT JOIN company_member cm ON cm.user_account_id = ua.id
LEFT JOIN company_info ci ON ci.id = cm.company_info_id LEFT JOIN company_info ci ON ci.id = cm.company_info_id
LEFT JOIN user_rcd rcd ON rcd.user_account_id = ua.id LEFT JOIN user_rcd rcd ON rcd.user_account_id = ua.id
LEFT JOIN user_account r_user ON r_user.id = rcd.rcd_user_id LEFT JOIN user_account r_user ON r_user.id = rcd.rcd_user_id
LEFT JOIN real_name_auth rna ON rna.user_account_id = ua.id
WHERE WHERE
ua.DISABLE = 0 ua.DISABLE = 0
AND ua.port_type = 100 AND ua.port_type = 100
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论