From 8f591107355f0e30d4f0cbf29f2a70f8d7effe95 Mon Sep 17 00:00:00 2001 From: zy_Java <654600784@qq.com> Date: Mon, 28 Mar 2022 14:15:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2=E6=8F=92?= =?UTF-8?q?=E4=BB=B6sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper_dao/ProTaskPluginDao.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/mapper_dao/ProTaskPluginDao.xml b/src/main/resources/mapper_dao/ProTaskPluginDao.xml index 7624014..55543db 100644 --- a/src/main/resources/mapper_dao/ProTaskPluginDao.xml +++ b/src/main/resources/mapper_dao/ProTaskPluginDao.xml @@ -131,11 +131,11 @@ p.rowspan AS rowspan, p.id AS pluginTaskId FROM - t_pro_task_sub s - LEFT JOIN t_pro_task_detail d on s.task_detail_id = d.id and d.rec_status = 0 - LEFT JOIN t_pro_task_plugin p on d.id = p.task_detail_id and p.rec_status = 0 + t_pro_task_plugin p + LEFT JOIN t_pro_task_detail d on d.id = p.task_detail_id and d.rec_status = 0 + LEFT JOIN t_pro_task_sub s on s.task_detail_id = d.id and s.rec_status = 0 WHERE - s.rec_status = 0 + p.rec_status = 0 and s.id = #{subId}