2
0

feat: kyc page contain user name

This commit is contained in:
zhangsz
2025-01-17 19:16:40 +08:00
parent c54a9684d7
commit 7fb6fcc344
2 changed files with 5 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ import org.wfc.system.domain.constant.KycStatusEnum;
public class UKycUserVo {
private Long kycId;
private Long userId;
private String userName;
private String realName;
private String birthDate;
private IdTypeEnum idType;

View File

@@ -6,6 +6,7 @@
SELECT
k.kyc_id,
k.user_id,
u.user_name,
u.full_name as real_name,
k.birth_date,
k.id_type,
@@ -21,9 +22,9 @@
WHERE
u.del_flag = 0
AND k.del_flag = 0
<if test="item.userId != null and item.userId != ''">
AND k.user_id = #{item.userId}
</if>
<if test="item.userName != null and item.userName != ''">
AND u.user_name = #{item.userName}
</if>
<if test="item.status != null and item.status != ''">
AND k.`status` = #{item.status}
</if>