refactor(model): 移除 click_token 字段并调整字段顺序
- 删除实体与 Mapper 中 click_token 相关定义 - 保持其余字段(bind_type、bound_at、bind_ip、bind_user_agent)顺序一致
This commit is contained in:
@@ -48,12 +48,6 @@ public class KeyboardUserInvites {
|
|||||||
@Schema(description="使用的邀请码ID")
|
@Schema(description="使用的邀请码ID")
|
||||||
private Long inviteCodeId;
|
private Long inviteCodeId;
|
||||||
|
|
||||||
/**
|
|
||||||
* 绑定时关联的点击Token(通过邀请链接自动绑定时使用)
|
|
||||||
*/
|
|
||||||
@TableField(value = "click_token")
|
|
||||||
@Schema(description="绑定时关联的点击Token(通过邀请链接自动绑定时使用)")
|
|
||||||
private String clickToken;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 绑定方式:1=手动填写邀请码,2=邀请链接自动绑定,3=其他方式
|
* 绑定方式:1=手动填写邀请码,2=邀请链接自动绑定,3=其他方式
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
<result column="inviter_user_id" jdbcType="BIGINT" property="inviterUserId" />
|
<result column="inviter_user_id" jdbcType="BIGINT" property="inviterUserId" />
|
||||||
<result column="invitee_user_id" jdbcType="BIGINT" property="inviteeUserId" />
|
<result column="invitee_user_id" jdbcType="BIGINT" property="inviteeUserId" />
|
||||||
<result column="invite_code_id" jdbcType="BIGINT" property="inviteCodeId" />
|
<result column="invite_code_id" jdbcType="BIGINT" property="inviteCodeId" />
|
||||||
<result column="click_token" jdbcType="VARCHAR" property="clickToken" />
|
|
||||||
<result column="bind_type" jdbcType="SMALLINT" property="bindType" />
|
<result column="bind_type" jdbcType="SMALLINT" property="bindType" />
|
||||||
<result column="bound_at" jdbcType="TIMESTAMP" property="boundAt" />
|
<result column="bound_at" jdbcType="TIMESTAMP" property="boundAt" />
|
||||||
<result column="bind_ip" jdbcType="VARCHAR" property="bindIp" />
|
<result column="bind_ip" jdbcType="VARCHAR" property="bindIp" />
|
||||||
@@ -16,7 +15,7 @@
|
|||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
<!--@mbg.generated-->
|
<!--@mbg.generated-->
|
||||||
id, inviter_user_id, invitee_user_id, invite_code_id, click_token, bind_type, bound_at,
|
id, inviter_user_id, invitee_user_id, invite_code_id, bind_type, bound_at,
|
||||||
bind_ip, bind_user_agent
|
bind_ip, bind_user_agent
|
||||||
</sql>
|
</sql>
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user