fix(任务中心): 缺陷&&需求内置定时任务查询有误
--bug=1048365 --user=宋昌昌 【任务中心】系统后台任务-同步缺陷-状态开启-三方修改缺陷-ms平台未同步更新 https://www.tapd.cn/55049933/s/1602405
This commit is contained in:
parent
d8fb66bbf4
commit
17680ae686
|
@ -341,7 +341,7 @@
|
||||||
FROM
|
FROM
|
||||||
schedule
|
schedule
|
||||||
left join project on schedule.project_id = project.id
|
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
|
QRTZ_TRIGGERS.TRIGGER_NAME
|
||||||
where resource_type = 'BUG_SYNC'
|
where resource_type = 'BUG_SYNC'
|
||||||
union all
|
union all
|
||||||
|
@ -365,7 +365,7 @@
|
||||||
FROM
|
FROM
|
||||||
schedule
|
schedule
|
||||||
left join project on schedule.project_id = project.id
|
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
|
QRTZ_TRIGGERS.TRIGGER_NAME
|
||||||
where resource_type ='DEMAND_SYNC'
|
where resource_type ='DEMAND_SYNC'
|
||||||
) task
|
) task
|
||||||
|
|
Loading…
Reference in New Issue