feat(user): 新增用户智能回复开关字段

在 SystemUsers 实体、DTO、VO 及 Mapper 中统一增加 aiReplay 字段,用于控制是否开启智能回复功能。
This commit is contained in:
2025-11-07 13:57:56 +08:00
parent a630ae7b23
commit a12cf82833
4 changed files with 12 additions and 0 deletions

View File

@@ -31,4 +31,6 @@ public class SystemUsersDTO {
private Long tenantId;
private Long userId;
private Byte aiReplay;
}

View File

@@ -181,4 +181,11 @@ public class SystemUsers {
@TableField(value = "ai_chat")
@ApiModelProperty(value = "能否登录大哥爬虫客户端")
private Byte aiChat;
/**
* 是否开启智能回复
*/
@TableField(value = "ai_replay")
@ApiModelProperty(value = "是否开启智能回复")
private Byte aiReplay;
}

View File

@@ -35,4 +35,6 @@ public class SystemUsersVO {
private Date brotherExpireTime;
private Date aiExpireTime;
private Byte aiReplay;
}

View File

@@ -25,6 +25,7 @@
<result column="deleted" jdbcType="BIT" property="deleted" />
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
<result column="crawl" jdbcType="TINYINT" property="crawl" />
<result column="ai_replay" jdbcType="TINYINT" property="aiReplay" />
<result column="big_brother" jdbcType="TINYINT" property="bigBrother" />
</resultMap>
<sql id="Base_Column_List">