liujie
2026-04-20 f80d57a352069f27af6ea2b442380c44208e05a3
DriverYKDTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml
@@ -559,7 +559,11 @@
        ((select sum(fraction) from t_order_evaluate where driverId = a.id) / (select count(fraction) from t_order_evaluate where driverId = a.id)) as score,
        if((select id from t_merchant where auditStatus = 2 and userType = 2 and userId = a.id and state = 1) is null, 0, 1) as merchant,
        a.companyId as companyId,
        e.name as companyName
        e.name as companyName,
        e.isCanSelectSeat as isCanSelectSeat,
        e.isCanModifyAmount as isCanModifyAmount,
        e.isOfflinePay as isOfflinePay,
        e.isOpenDriverSelfTrip as isOpenDriverSelfTrip
        from t_driver a
        left join t_car b on (a.carId = b.id)
        left join t_car_model c on (b.carModelId = c.id)