From e20079f30378cf18ade74ae79a7d28baa92371bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E4=BA=AE?= Date: Tue, 19 Aug 2025 10:18:28 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=B7=A5=E7=A8=8B=E5=88=86=E5=8C=85=E7=8F=AD?= =?UTF-8?q?=E7=BB=84=E4=B8=8B=E6=8B=89=E6=A1=86=E7=BC=96=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/bmw/SelectMapper.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bonus-modules/bonus-bmw/src/main/resources/mapper/bmw/SelectMapper.xml b/bonus-modules/bonus-bmw/src/main/resources/mapper/bmw/SelectMapper.xml index 40e1fe5..eafbe65 100644 --- a/bonus-modules/bonus-bmw/src/main/resources/mapper/bmw/SelectMapper.xml +++ b/bonus-modules/bonus-bmw/src/main/resources/mapper/bmw/SelectMapper.xml @@ -7,11 +7,17 @@ id, pro_name as `name` from pm_project pp + + inner join bm_sub_contract bsc on pp.id = bsc.pro_id and bsc.sub_ein_status = 1 and bsc.is_active = 1 + pp.is_active = 1 and pp.sub_com_id = #{subComId} + + and bsc.sub_id = #{subId} +