feat: kyc page contain user name
This commit is contained in:
@@ -9,6 +9,7 @@ import org.wfc.system.domain.constant.KycStatusEnum;
|
|||||||
public class UKycUserVo {
|
public class UKycUserVo {
|
||||||
private Long kycId;
|
private Long kycId;
|
||||||
private Long userId;
|
private Long userId;
|
||||||
|
private String userName;
|
||||||
private String realName;
|
private String realName;
|
||||||
private String birthDate;
|
private String birthDate;
|
||||||
private IdTypeEnum idType;
|
private IdTypeEnum idType;
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
SELECT
|
SELECT
|
||||||
k.kyc_id,
|
k.kyc_id,
|
||||||
k.user_id,
|
k.user_id,
|
||||||
|
u.user_name,
|
||||||
u.full_name as real_name,
|
u.full_name as real_name,
|
||||||
k.birth_date,
|
k.birth_date,
|
||||||
k.id_type,
|
k.id_type,
|
||||||
@@ -21,9 +22,9 @@
|
|||||||
WHERE
|
WHERE
|
||||||
u.del_flag = 0
|
u.del_flag = 0
|
||||||
AND k.del_flag = 0
|
AND k.del_flag = 0
|
||||||
<if test="item.userId != null and item.userId != ''">
|
<if test="item.userName != null and item.userName != ''">
|
||||||
AND k.user_id = #{item.userId}
|
AND u.user_name = #{item.userName}
|
||||||
</if>
|
</if>
|
||||||
<if test="item.status != null and item.status != ''">
|
<if test="item.status != null and item.status != ''">
|
||||||
AND k.`status` = #{item.status}
|
AND k.`status` = #{item.status}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user