mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-09-16 01:44:57 +00:00
fix: 工作流实体保留字转义 + 千问向量模型厂商映射
1. WorkflowRuntimeNode/WorkflowRuntime: input/output/status 字段加反引号, 修复 MySQL 8.0 保留字导致 MyBatis-Plus SQL 解析异常 (#307) 2. EmbeddingModelFactory: 新增 providerCode→BeanName 映射, qianwen→alibailian,修复千问向量模型找不到 Bean 的问题 (#301) Closes #307 #301 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -27,13 +27,13 @@ public class WorkflowRuntime extends BaseEntity {
|
||||
@TableField("workflow_id")
|
||||
private Long workflowId;
|
||||
|
||||
@TableField(value = "input")
|
||||
@TableField(value = "`input`")
|
||||
private String input;
|
||||
|
||||
@TableField(value = "output")
|
||||
@TableField(value = "`output`")
|
||||
private String output;
|
||||
|
||||
@TableField("status")
|
||||
@TableField("`status`")
|
||||
private Integer status;
|
||||
|
||||
@TableField("status_remark")
|
||||
|
||||
@@ -29,13 +29,13 @@ public class WorkflowRuntimeNode extends BaseEntity {
|
||||
@TableField("node_id")
|
||||
private Long nodeId;
|
||||
|
||||
@TableField(value = "input")
|
||||
@TableField(value = "`input`")
|
||||
private String input;
|
||||
|
||||
@TableField(value = "output")
|
||||
@TableField(value = "`output`")
|
||||
private String output;
|
||||
|
||||
@TableField("status")
|
||||
@TableField("`status`")
|
||||
private Integer status;
|
||||
|
||||
@TableField("status_remark")
|
||||
|
||||
Reference in New Issue
Block a user