From 863a700d7a1fc65b53691d2648ac100138c3a053 Mon Sep 17 00:00:00 2001 From: xiaochou164 Date: Thu, 10 Aug 2023 14:22:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=98=E5=82=A8=E8=BF=87?= =?UTF-8?q?=E7=A8=8B=E7=94=A8=E6=88=B7root=E4=B8=BAadmin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../定时任务/SyncMesData_every_12_hours.sql | 10 +++++----- .../定时任务/SyncMesData_every_2_hours.sql | 6 +++--- .../定时任务/UpdateAllfeedingdetail_4_hours.sql | 4 ++-- .../存储过程&定时任务/定时任务/UpdateMostatus.sql | 6 +++--- .../定时任务/UpdateRecyclematerialoutput.sql | 6 +++--- .../定时任务/UpdateSiteOnlineYield_1_hours.sql | 6 +++--- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/数据库迁移sql/存储过程&定时任务/定时任务/SyncMesData_every_12_hours.sql b/数据库迁移sql/存储过程&定时任务/定时任务/SyncMesData_every_12_hours.sql index 5f9490e..4f4bfe6 100644 --- a/数据库迁移sql/存储过程&定时任务/定时任务/SyncMesData_every_12_hours.sql +++ b/数据库迁移sql/存储过程&定时任务/定时任务/SyncMesData_every_12_hours.sql @@ -1,8 +1,8 @@ -create definer = root@`%` event SyncMesData_every_12_hours on schedule - every '2' HOUR - starts '2023-07-07 19:00:49' +create definer = admin@`%` event SyncMesData_every_12_hours on schedule + every '6' HOUR + starts '2023-08-10 08:35:00' enable - comment '每12小时更新重要的表' + comment '每6小时更新重要的表' do - call SyncMesData_every_12_hours(); + call reportdata.SyncMesData_every_12_hours(); diff --git a/数据库迁移sql/存储过程&定时任务/定时任务/SyncMesData_every_2_hours.sql b/数据库迁移sql/存储过程&定时任务/定时任务/SyncMesData_every_2_hours.sql index 99df71f..1b70100 100644 --- a/数据库迁移sql/存储过程&定时任务/定时任务/SyncMesData_every_2_hours.sql +++ b/数据库迁移sql/存储过程&定时任务/定时任务/SyncMesData_every_2_hours.sql @@ -1,8 +1,8 @@ -create definer = root@`%` event SyncMesData_every_2_hours on schedule +create definer = admin@`%` event SyncMesData_every_2_hours on schedule every '2' HOUR - starts '2023-07-07 16:31:49' + starts '2023-08-10 08:35:00' enable comment '每两小时更新重要的表' do - call SyncMesData_every_2_hours(); + call reportdata.SyncMesData_every_2_hours(); diff --git a/数据库迁移sql/存储过程&定时任务/定时任务/UpdateAllfeedingdetail_4_hours.sql b/数据库迁移sql/存储过程&定时任务/定时任务/UpdateAllfeedingdetail_4_hours.sql index e71862c..0bdbc19 100644 --- a/数据库迁移sql/存储过程&定时任务/定时任务/UpdateAllfeedingdetail_4_hours.sql +++ b/数据库迁移sql/存储过程&定时任务/定时任务/UpdateAllfeedingdetail_4_hours.sql @@ -1,9 +1,9 @@ -create definer = root@`%` event UpdateAllfeedingdetail_4_hours on schedule +create definer = admin@`%` event UpdateAllfeedingdetail_4_hours on schedule every '4' HOUR starts '2023-07-08 08:40:00' on completion preserve enable comment '归档配料明细' do - call UpdateAllfeedingdetail(); + call reportdata.UpdateAllfeedingdetail(); diff --git a/数据库迁移sql/存储过程&定时任务/定时任务/UpdateMostatus.sql b/数据库迁移sql/存储过程&定时任务/定时任务/UpdateMostatus.sql index 7b39bd2..4c174ea 100644 --- a/数据库迁移sql/存储过程&定时任务/定时任务/UpdateMostatus.sql +++ b/数据库迁移sql/存储过程&定时任务/定时任务/UpdateMostatus.sql @@ -1,7 +1,7 @@ -create definer = root@`%` event UpdateMostatus on schedule +create definer = admin@`%` event UpdateMostatus_half_hours on schedule every '30' MINUTE - starts '2023-07-07 16:56:53' + starts '2023-08-10 08:35:00' enable do - call mes_sync.UpdateMostatus(); + call reportdata.UpdateMostatus(); diff --git a/数据库迁移sql/存储过程&定时任务/定时任务/UpdateRecyclematerialoutput.sql b/数据库迁移sql/存储过程&定时任务/定时任务/UpdateRecyclematerialoutput.sql index 719c245..0407f74 100644 --- a/数据库迁移sql/存储过程&定时任务/定时任务/UpdateRecyclematerialoutput.sql +++ b/数据库迁移sql/存储过程&定时任务/定时任务/UpdateRecyclematerialoutput.sql @@ -1,8 +1,8 @@ -create definer = root@`%` event UpdateRecyclematerialoutput on schedule +create definer = admin@`%` event UpdateRecyclematerialoutput_1_hours on schedule every '1' HOUR - starts '2023-07-08 08:32:38' + starts '2023-08-10 08:35:00' enable comment '更新循环料产出' do - call UpdateRecyclematerialouput(); + call reportdata.UpdateRecyclematerialouput(); diff --git a/数据库迁移sql/存储过程&定时任务/定时任务/UpdateSiteOnlineYield_1_hours.sql b/数据库迁移sql/存储过程&定时任务/定时任务/UpdateSiteOnlineYield_1_hours.sql index e9066e9..6b55599 100644 --- a/数据库迁移sql/存储过程&定时任务/定时任务/UpdateSiteOnlineYield_1_hours.sql +++ b/数据库迁移sql/存储过程&定时任务/定时任务/UpdateSiteOnlineYield_1_hours.sql @@ -1,9 +1,9 @@ -create definer = root@`%` event UpdateSiteOnlineYield_1_hours on schedule +create definer = admin@`%` event UpdateSiteOnlineYield_1_hours on schedule every '1' HOUR - starts '2023-08-08 08:43:55' + starts '2023-08-10 08:40:00' on completion preserve enable comment '更新产量' do - call UpdateSiteOnlineYield(); + call reportdata.UpdateSiteOnlineYield();