From cc175f25cbd953fc2c3623495c1f4b8e0efec4ee Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期二, 25 二月 2025 17:12:16 +0800
Subject: [PATCH] 2.0新增

---
 ManagementOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TDriverMapper.xml |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/ManagementOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TDriverMapper.xml b/ManagementOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TDriverMapper.xml
index e068785..c8859c3 100644
--- a/ManagementOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TDriverMapper.xml
+++ b/ManagementOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TDriverMapper.xml
@@ -392,4 +392,19 @@
         )
         and id in (select driverId from t_driver_orders where `type` = #{type})
     </select>
+    <select id="inviteList" resultType="java.util.Map">
+        select t1.*,t2.phone,t2.avatar,t2.nickName from t_invite t1
+        left join t_user t2 on t2.id = t1.userId
+        where 1=1
+        <if test="null != uid">
+            and t1.inviteUserId = #{uid}
+        </if>
+        <if test="inviteName != null and inviteName != ''">
+            and t2.nickName  LIKE CONCAT('%',#{inviteName},'%')
+        </if>
+        <if test="null != startTime and null != endTime">
+            and t1.registerTime between #{startTime} and #{endTime}
+        </if>
+        order by t1.registerTime desc
+    </select>
 </mapper>

--
Gitblit v1.7.1