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 | 2 +- 1 files changed, 1 insertions(+), 1 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 282b553..3e73a65 100644 --- a/iailab-module-model/iailab-module-model-biz/db/mysql.sql +++ b/iailab-module-model/iailab-module-model-biz/db/mysql.sql @@ -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