From 98a7cb217d580d8c2642570dc8298e9226551928 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期五, 01 八月 2025 18:44:28 +0800
Subject: [PATCH] bug修改

---
 UserOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/InviteMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/UserOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/InviteMapper.xml b/UserOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/InviteMapper.xml
index 922efc7..a974722 100644
--- a/UserOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/InviteMapper.xml
+++ b/UserOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/InviteMapper.xml
@@ -10,9 +10,10 @@
         <if test="null != uid">
             and t1.inviteUserId = #{uid}
         </if>
-        <if test="null != startTime and null != endTime">
+        <if test="null != startTime and '' != startTime">
             and t1.registerTime between #{startTime} and #{endTime}
         </if>
+        and t1.userType = 1
         order by t1.registerTime desc
         limit #{pageNum}, #{size}
     </select>

--
Gitblit v1.7.1