From 7fbe644c96e59788e0f2484dcdc8648f4e2422f2 Mon Sep 17 00:00:00 2001 From: dxc Date: Thu, 4 Mar 2021 09:40:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=82=E5=B8=B8=E6=9F=A5=E8=AF=A2=E6=A0=87?= =?UTF-8?q?=E6=AE=B5bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projectsection/dao/mapper/ProjectSectionMapper.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/project/projectsection/dao/mapper/ProjectSectionMapper.xml b/src/main/java/com/chinaunicom/mall/ebtp/project/projectsection/dao/mapper/ProjectSectionMapper.xml index 9cf25a6..f8bdfc1 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/project/projectsection/dao/mapper/ProjectSectionMapper.xml +++ b/src/main/java/com/chinaunicom/mall/ebtp/project/projectsection/dao/mapper/ProjectSectionMapper.xml @@ -160,7 +160,9 @@ from biz_project_section t left join biz_project_section_exception e on e.section_id = t.id and e.exception_id = ${exceptionId} where t.project_id = ${projectId} and t.status != '9' - and not exists (select e.* from biz_project_section_exception e,biz_project_section s where s.id = e.section_id and s.project_id = ${projectId} and e.exception_id != ${exceptionId}) + and not exists (select e.* from biz_project_section_exception e,biz_project_section s + where s.id = e.section_id and s.project_id = ${projectId} and e.exception_id != ${exceptionId} + and e.section_id = t.id)