From 3200bd2e39f40031ff213c2f28f3bbf942dcb2c8 Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Tue, 2 Jul 2019 18:11:57 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=88=97=E8=A1=A8=E9=87=8D=E5=A4=8D=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mappers/JobMapper.xml | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/spring-boot-demo-task-quartz/src/main/resources/mappers/JobMapper.xml b/spring-boot-demo-task-quartz/src/main/resources/mappers/JobMapper.xml index a6654cf..6655e22 100644 --- a/spring-boot-demo-task-quartz/src/main/resources/mappers/JobMapper.xml +++ b/spring-boot-demo-task-quartz/src/main/resources/mappers/JobMapper.xml @@ -2,22 +2,21 @@ - + SELECT + job_details.`JOB_NAME`, + job_details.`JOB_GROUP`, + job_details.`JOB_CLASS_NAME`, + cron_triggers.`CRON_EXPRESSION`, + cron_triggers.`TIME_ZONE_ID`, + qrtz_triggers.`TRIGGER_NAME`, + qrtz_triggers.`TRIGGER_GROUP`, + qrtz_triggers.`TRIGGER_STATE` + FROM + `QRTZ_JOB_DETAILS` job_details + LEFT JOIN `QRTZ_CRON_TRIGGERS` cron_triggers ON job_details.`JOB_NAME` = cron_triggers.`TRIGGER_NAME` + AND job_details.`JOB_GROUP` = cron_triggers.`TRIGGER_GROUP` + LEFT JOIN `QRTZ_TRIGGERS` qrtz_triggers ON qrtz_triggers.`TRIGGER_NAME` = job_details.`JOB_NAME` + AND qrtz_triggers.`TRIGGER_GROUP` = job_details.`JOB_GROUP` \ No newline at end of file