From a8d2cb07f6440dc54dc4005b0b06d5a47cb1517d Mon Sep 17 00:00:00 2001
From: luodangjia <luodangjia>
Date: 星期一, 16 十二月 2024 13:34:03 +0800
Subject: [PATCH] 12.16

---
 ruoyi-service/ruoyi-account/src/main/resources/mapper/account/AppUserMapper.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ruoyi-service/ruoyi-account/src/main/resources/mapper/account/AppUserMapper.xml b/ruoyi-service/ruoyi-account/src/main/resources/mapper/account/AppUserMapper.xml
index 6919c53..2e68559 100644
--- a/ruoyi-service/ruoyi-account/src/main/resources/mapper/account/AppUserMapper.xml
+++ b/ruoyi-service/ruoyi-account/src/main/resources/mapper/account/AppUserMapper.xml
@@ -63,6 +63,9 @@
             <if test="null != appUser.phone and '' != appUser.phone">
                 and ta.phone like CONCAT('%',#{appUser.phone},'%')
             </if>
+            <if test="null != appUser.status">
+                and ta.status = #{appUser.status}
+            </if>
             <if test="null != appUser.vipId">
                 and ta.vip_id = #{appUser.vipId}
             </if>
@@ -73,6 +76,7 @@
                 </foreach>
             </if>
         </where>
+        order by ta.is_danger desc
 
     </select>
 </mapper>

--
Gitblit v1.7.1