feat(user): 新增用户智能回复开关字段
在 SystemUsers 实体、DTO、VO 及 Mapper 中统一增加 aiReplay 字段,用于控制是否开启智能回复功能。
This commit is contained in:
@@ -31,4 +31,6 @@ public class SystemUsersDTO {
|
||||
private Long tenantId;
|
||||
|
||||
private Long userId;
|
||||
|
||||
private Byte aiReplay;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -35,4 +35,6 @@ public class SystemUsersVO {
|
||||
private Date brotherExpireTime;
|
||||
|
||||
private Date aiExpireTime;
|
||||
|
||||
private Byte aiReplay;
|
||||
}
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user