2
0

feat: add real name column while kyc

This commit is contained in:
zhangsz
2025-01-16 11:53:44 +08:00
parent d5e3533d2d
commit 807fc6cbda
5 changed files with 8 additions and 9 deletions

View File

@@ -27,6 +27,9 @@ public class UKyc extends BaseData {
@Schema(description = "User ID")
private Long userId;
@Schema(description = "Real Name")
private Long realName;
@Schema(description = "Birth Date")
private String birthDate;

View File

@@ -9,7 +9,7 @@ import lombok.Data;
@Data
public class UKycUserBo {
private Long userId;
private String userName;
private String realName;
private Integer status;
private String createTimeStart;
private String createTimeEnd;

View File

@@ -9,7 +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;
private String idFile;

View File

@@ -14,7 +14,6 @@ import org.wfc.system.domain.bo.UKycUserBo;
* 用户平台-KYC表 Mapper 接口
* </p>
*
* @author sys
* @since 2025-01-08
*/
@DS("user")

View File

@@ -6,7 +6,7 @@
SELECT
k.kyc_id,
k.user_id,
u.user_name,
u.full_name,
k.birth_date,
k.id_type,
k.id_file,
@@ -24,11 +24,8 @@
<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 like concat('%', #{item.userName}, '%')
</if>
<if test="item.userName != null and item.userName != ''">
AND u.user_name like concat('%', #{item.userName}, '%')
<if test="item.fullName != null and item.fullName != ''">
AND u.full_name like concat('%', #{item.fullName}, '%')
</if>
<if test="item.status != null and item.status != ''">
AND k.`status` = #{item.status}