From c18ec3846c8483975de2224c1ecac9470e9b2804 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期三, 16 八月 2023 19:21:36 +0800
Subject: [PATCH] 同步代码

---
 driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/dao/mapping/DriverMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/dao/mapping/DriverMapper.xml b/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/dao/mapping/DriverMapper.xml
index 90f1c46..9345129 100644
--- a/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/dao/mapping/DriverMapper.xml
+++ b/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/dao/mapping/DriverMapper.xml
@@ -54,4 +54,10 @@
         <result column="merchantPhone" property="merchantPhone"/>
         <result column="merchantIDCode" property="merchantIDCode"/>
     </resultMap>
+    <select id="getTime" resultType="java.lang.Integer">
+        select sum(onlineTime) from t_driver_online_time where driverId =#{uid}
+        <if test="sTime !=null">
+            and day between #{sTime} and #{eTime}
+        </if>
+    </select>
 </mapper>

--
Gitblit v1.7.1