From 39e9e0600ed31ee6eff5c3b1287c36c7b7196b90 Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期四, 14 八月 2025 19:11:04 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/QianYunTong --- DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml b/DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml index 790a79b..bcd192b 100644 --- a/DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml +++ b/DriverQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml @@ -502,12 +502,12 @@ ( (select count(id) from t_order_private_car where driverId = a.id and state !=10 and to_days(insertTime) = to_days(now())) + (select count(id) from t_order_taxi where driverId = a.id and state !=10 and to_days(insertTime) = to_days(now())) + - (select count(id) from t_order_cross_city where driverId = a.id state !=10 and to_days(insertTime) = to_days(now())) + + (select count(id) from t_order_cross_city where driverId = a.id and state !=10 and to_days(insertTime) = to_days(now())) + (select count(id) from t_order_logistics where driverId = a.id and state in (6, 9) and to_days(insertTime) = to_days(now())) ) as dayNum, ( (select count(id) from t_order_private_car where driverId = a.id and state !=10 and DATE_FORMAT(insertTime, '%Y%m') = DATE_FORMAT(now(), '%Y%m')) + - (select count(id) from t_order_taxi where driverId = a.id and state state !=10 and DATE_FORMAT(insertTime, '%Y%m') = DATE_FORMAT(now(), '%Y%m')) + + (select count(id) from t_order_taxi where driverId = a.id and state !=10 and DATE_FORMAT(insertTime, '%Y%m') = DATE_FORMAT(now(), '%Y%m')) + (select count(id) from t_order_cross_city where driverId = a.id and state !=10 and DATE_FORMAT(insertTime, '%Y%m') = DATE_FORMAT(now(), '%Y%m')) + (select count(id) from t_order_logistics where driverId = a.id and state in (6, 9) and DATE_FORMAT(insertTime, '%Y%m') = DATE_FORMAT(now(), '%Y%m')) ) as mouthNum, -- Gitblit v1.7.1