From 17680ae68635748572c95e3d6efea0fa129c7e13 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Wed, 30 Oct 2024 17:47:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83):=20?= =?UTF-8?q?=E7=BC=BA=E9=99=B7&&=E9=9C=80=E6=B1=82=E5=86=85=E7=BD=AE?= =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E6=9F=A5=E8=AF=A2=E6=9C=89?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1048365 --user=宋昌昌 【任务中心】系统后台任务-同步缺陷-状态开启-三方修改缺陷-ms平台未同步更新 https://www.tapd.cn/55049933/s/1602405 --- .../java/io/metersphere/system/mapper/ExtScheduleMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml index 127e5d8560..74afe18a05 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml @@ -341,7 +341,7 @@ FROM schedule left join project on schedule.project_id = project.id - left join QRTZ_TRIGGERS on schedule.job = QRTZ_TRIGGERS.JOB_GROUP and schedule.resource_id = + left join QRTZ_TRIGGERS on schedule.job = QRTZ_TRIGGERS.JOB_GROUP and schedule.key = QRTZ_TRIGGERS.TRIGGER_NAME where resource_type = 'BUG_SYNC' union all @@ -365,7 +365,7 @@ FROM schedule left join project on schedule.project_id = project.id - left join QRTZ_TRIGGERS on schedule.job = QRTZ_TRIGGERS.JOB_GROUP and schedule.resource_id = + left join QRTZ_TRIGGERS on schedule.job = QRTZ_TRIGGERS.JOB_GROUP and schedule.key = QRTZ_TRIGGERS.TRIGGER_NAME where resource_type ='DEMAND_SYNC' ) task