From 9f6a7019bfbfe07f238822752776d0c1b9fab38c Mon Sep 17 00:00:00 2001 From: WendyYang Date: Mon, 13 Mar 2023 10:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BE=85=E8=AF=84=E5=AE=A1?= =?UTF-8?q?=E4=BC=9A=E8=AE=AE=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ningdatech/pmapi/meeting/mapper/MeetingExpertMapper.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/meeting/mapper/MeetingExpertMapper.xml b/pmapi/src/main/java/com/ningdatech/pmapi/meeting/mapper/MeetingExpertMapper.xml index f1fe5d8..0d0f1ce 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/meeting/mapper/MeetingExpertMapper.xml +++ b/pmapi/src/main/java/com/ningdatech/pmapi/meeting/mapper/MeetingExpertMapper.xml @@ -74,22 +74,22 @@ - and exists(select 1 from nd_expert_review ner where ner.project_id = np.id and ner.create_by = + exists(select 1 from nd_expert_review ner where ner.project_id = np.id and ner.create_by = me.expert_id and is_final = true) - and not exists(select 1 from nd_expert_review ner where ner.project_id = np.id and ner.create_by = + not exists(select 1 from nd_expert_review ner where ner.project_id = np.id and ner.create_by = me.expert_id and is_final = true) - and exists(select 1 from nd_expert_review ner where ner.project_id = np.id and ner.create_by = + exists(select 1 from nd_expert_review ner where ner.project_id = np.id and ner.create_by = me.expert_id) - and not exists(select 1 from nd_expert_review ner where ner.project_id = np.id and ner.create_by = + not exists(select 1 from nd_expert_review ner where ner.project_id = np.id and ner.create_by = me.expert_id) @@ -104,7 +104,7 @@ inner join meeting_expert me on m.id = me.meeting_id where m.is_inner_project = true - if(me.is_headman,,) + and if(me.is_headman,,) and me.expert_id = #{p.userId}