From aa3c652efb67e67b17f21784925614f644d1957a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E4=BA=AE?= Date: Fri, 24 Oct 2025 17:04:59 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/bmw/HomePageSubMapper.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bonus-modules/bonus-bmw/src/main/resources/mapper/bmw/HomePageSubMapper.xml b/bonus-modules/bonus-bmw/src/main/resources/mapper/bmw/HomePageSubMapper.xml index 9e04e86..d01f000 100644 --- a/bonus-modules/bonus-bmw/src/main/resources/mapper/bmw/HomePageSubMapper.xml +++ b/bonus-modules/bonus-bmw/src/main/resources/mapper/bmw/HomePageSubMapper.xml @@ -320,6 +320,7 @@ pw.phone, bwem.pro_name, bwem.sub_name, + bwem.team_name, psc.sub_company_name, bwem.exit_time, if(is_upload_file=0,DATEDIFF(NOW(), exit_time),0) as days_since_exit @@ -329,7 +330,7 @@ INNER JOIN pm_worker pw ON bwem.worker_id = pw.id and pw.is_active = 1 INNER JOIN pm_sub_company psc ON pp.sub_com_id = psc.id - bwem.is_active = 1 and bwem.ein_status = 2 and bwem.is_upload_file = 0 + bwem.ein_status = 2 and bwem.is_upload_file = 0 AND pp.sub_com_id