From 834a3f9314cb6b48929490e16812639fbdaefe42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E4=BA=AE?= Date: Mon, 9 Feb 2026 11:02:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E6=A0=B8=E8=A1=A8=E6=A8=A1=E5=9D=97SQ?= =?UTF-8?q?L=E9=87=8D=E6=96=B0=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/planAndRealName/PlanAndRealNameMapper.xml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/bmw/src/main/resources/mapper/planAndRealName/PlanAndRealNameMapper.xml b/modules/bmw/src/main/resources/mapper/planAndRealName/PlanAndRealNameMapper.xml index e4f9610..134492e 100644 --- a/modules/bmw/src/main/resources/mapper/planAndRealName/PlanAndRealNameMapper.xml +++ b/modules/bmw/src/main/resources/mapper/planAndRealName/PlanAndRealNameMapper.xml @@ -101,10 +101,7 @@ AND bsc.is_active = '1' LEFT JOIN bm_subcontractor bs ON bs.id = bsc.sub_id AND bs.is_active = '1' - LEFT JOIN bm_sub_relation bsr ON bsr.sub_contract_id = bsc.id - AND bsr.type = '3' - AND bsr.is_active = '1' - LEFT JOIN bm_sub_team bst ON bsr.v = bst.id + LEFT JOIN bm_sub_team bst ON bs.id = bst.sub_id AND bst.is_active = '1' LEFT JOIN bm_team_user_relation btur ON btur.team_id = bst.id AND btur.is_active = '1' @@ -681,4 +678,4 @@ bm_evaluation_sub GROUP BY subComId --> - \ No newline at end of file +