From 78851285202a040f8ddf998c067cd462874c1cb9 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期四, 19 十月 2023 14:55:27 +0800
Subject: [PATCH] 配置修改

---
 DriverTravel/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/DriverTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml b/DriverTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml
index b38b84a..3a22ea2 100644
--- a/DriverTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml
+++ b/DriverTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DriverMapper.xml
@@ -69,6 +69,7 @@
         <result column="laveBusinessMoney" property="laveBusinessMoney" />
         <result column="placeOfPractice" property="placeOfPractice"/>
         <result column="appletsOpenId" property="appletsOpenId"/>
+        <result column="mchtNo" property="mchtNo"/>
 
         <result column="flag" property="flag"/>
         <result column="insertTime" property="insertTime"/>
@@ -363,8 +364,7 @@
         (select count(id) from t_order_cross_city where driverId = a.id and state in (6, 8, 9)) +
         (select count(id) from t_order_logistics where driverId = a.id and state in (6, 9))
         ) as orderNum,
-        ((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
+        ((select sum(fraction) from t_order_evaluate where driverId = a.id) / (select count(fraction) from t_order_evaluate where driverId = a.id)) as score
         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)

--
Gitblit v1.7.1