From 45ccb96b7a3a9929e8beb6a2c5793eff6170b56d Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期日, 23 三月 2025 14:12:40 +0800 Subject: [PATCH] curData + T+L --- iailab-module-model/iailab-module-model-biz/db/mysql.sql | 4 ++-- 1 files changed, 2 insertions(+), 2 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 9d82825..3e73a65 100644 --- a/iailab-module-model/iailab-module-model-biz/db/mysql.sql +++ b/iailab-module-model/iailab-module-model-biz/db/mysql.sql @@ -931,7 +931,7 @@ CREATE TABLE `t_st_adjust_result` ( `id` varchar(36) NOT NULL COMMENT 'ID', `config_id` varchar(36) DEFAULT NULL COMMENT '配置ID', - `output_id` varchar(36) DEFAULT NULL COMMENT '预测项输出ID', + `output_id` varchar(50) DEFAULT NULL COMMENT '预测项输出ID', `schedule_model_id` varchar(36) DEFAULT NULL COMMENT '调度模型ID', `adjust_time` datetime NULL DEFAULT NULL COMMENT '模拟调整时间', `adjust_value` varchar(500) DEFAULT NULL COMMENT '模拟调整值', @@ -1010,4 +1010,4 @@ -- t_st_schedule_record 创建复合索引 -CREATE INDEX idx_scheme_id_create_time ON t_st_schedule_record (scheme_id, create_time DESC); +CREATE INDEX idx_st_schedule_record_scheme_result_time ON t_st_schedule_record (scheme_id, result_code, schedule_time DESC, create_time DESC); -- Gitblit v1.9.3