From 5d232fcbf3799d5b8cdd6c1b1db52231dd493713 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Fri, 08 Aug 2025 23:05:57 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/UserMapper.xml |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/UserMapper.xml b/src/main/resources/mapper/UserMapper.xml
index 25e3a6a..0211f5b 100644
--- a/src/main/resources/mapper/UserMapper.xml
+++ b/src/main/resources/mapper/UserMapper.xml
@@ -84,7 +84,7 @@
 
     <select id="listByAdmin" resultMap="BaseResultMap" parameterType="map">
         SELECT
-        <include refid="Base_Column_List"/>
+        *
         FROM user
         <where>
             <if test="searchId != null ">
@@ -99,6 +99,18 @@
             <if test="accountType != null ">
                 and account_type = #{accountType}
             </if>
+            <if test="isLock != null ">
+                and is_lock = #{isLock}
+            </if>
+            <if test="isLogin != null ">
+                and is_login = #{isLogin}
+            </if>
+            <if test="regTime != null and regTime != ''">
+                and  DATE_FORMAT(reg_time, '%Y-%m-%d') = #{regTime}
+            </if>
+            <if test="isActive != null ">
+                and is_active = #{isActive}
+            </if>
         </where>
         ORDER BY id DESC
     </select>

--
Gitblit v1.9.3