feat: add real name column while kyc
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -14,7 +14,6 @@ import org.wfc.system.domain.bo.UKycUserBo;
|
||||
* 用户平台-KYC表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author sys
|
||||
* @since 2025-01-08
|
||||
*/
|
||||
@DS("user")
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user