From af012402d448313b0888868b9e0230ff3a8f0d49 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 30 十二月 2024 16:18:29 +0800
Subject: [PATCH] t_st_schedule_model_out

---
 iailab-module-model/iailab-module-model-biz/db/mysql.sql |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/db/mysql.sql b/iailab-module-model/iailab-module-model-biz/db/mysql.sql
index 5a675fb..d317c33 100644
--- a/iailab-module-model/iailab-module-model-biz/db/mysql.sql
+++ b/iailab-module-model/iailab-module-model-biz/db/mysql.sql
@@ -884,9 +884,12 @@
 alter table t_st_schedule_record add column `result_data` varchar(1000) DEFAULT NULL;
 
 CREATE TABLE `t_st_schedule_model_out` (
-                                  `id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'id',
-                                  `model_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '模型ID',
-                                  `result_key` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '输出key',
+                                  `id` varchar(36) NOT NULL COMMENT 'id',
+                                  `model_id` varchar(36) DEFAULT NULL COMMENT '模型ID',
+                                  `result_key` varchar(36) DEFAULT NULL COMMENT '输出key',
+                                  `result_type` varchar(36) DEFAULT NULL COMMENT '数据类型(double,double[],double[][])',
+                                  `result_port` int DEFAULT NULL COMMENT 'port',
+                                  `result_index` int DEFAULT NULL COMMENT 'index',
                                   `is_write` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否下发',
                                   `point_no` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '下发的点位',
                                   `sort` int DEFAULT NULL COMMENT '排序',

--
Gitblit v1.9.3