feat(oa): 添加 AI 消息展示类型字段

- 在 SysOaAiMessage、SysOaAiMessageBo、SysOaAiMessageVo 中添加 renderType 字段
- 在 SysOaAiMessageMapper.xml 中更新映射配置- 用于支持 AI 消息的多种展示类型,如文本、图片等
This commit is contained in:
2025-08-05 14:54:58 +08:00
parent 0f9340bcd9
commit f38072f148
4 changed files with 18 additions and 1 deletions

View File

@@ -45,6 +45,11 @@ public class SysOaAiMessage extends BaseEntity {
*/
private String content;
/**
* 展示类型
*/
private String renderType;
/**
* 消耗token数
*/

View File

@@ -44,6 +44,11 @@ public class SysOaAiMessageBo extends BaseEntity {
@NotBlank(message = "消息内容不能为空", groups = { AddGroup.class, EditGroup.class })
private String content;
/**
* 展示类型
*/
private String renderType;
/**
* 消耗token数
*/

View File

@@ -47,6 +47,12 @@ public class SysOaAiMessageVo implements Serializable {
@ExcelProperty(value = "消息内容")
private String content;
/**
* 展示类型
*/
@ExcelProperty(value = "展示类型")
private String renderType;
/**
* 消耗token数
*/