From e809f5955584e600d8612540ea814977c49774c2 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期三, 27 八月 2025 23:51:54 +0800 Subject: [PATCH] 修改bug --- ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TCarMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TCarMapper.xml b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TCarMapper.xml index 42bb400..608724e 100644 --- a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TCarMapper.xml +++ b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TCarMapper.xml @@ -68,7 +68,7 @@ when type = 5 then '小件物流-跨城' when type = 6 then '包车' else '' end ) as serverStr,carId from t_car_service GROUP BY carId) as ds on ds.carId = cc.id - LEFT JOIN (select * from t_driver where flag != 3) AS dd on dd.carId = cc.id) as o + LEFT JOIN (select * from t_driver where flag != 3 and id in (select driverId from t_driver_work where state = 1)) AS dd on dd.carId = cc.id) as o <where> o.state = 1 <if test="beginTime != null and beginTime != '' and endTime != null and endTime != ''"> -- Gitblit v1.7.1