From 10ad2e710d2bd52aac31d5d63a7bb6beae76b6a8 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Tue, 07 Nov 2023 14:35:32 +0800
Subject: [PATCH] 用户列表增加搜索条件

---
 src/main/resources/mapper/modules/ChatUserMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/modules/ChatUserMapper.xml b/src/main/resources/mapper/modules/ChatUserMapper.xml
index b2364b9..ef87b68 100644
--- a/src/main/resources/mapper/modules/ChatUserMapper.xml
+++ b/src/main/resources/mapper/modules/ChatUserMapper.xml
@@ -32,6 +32,9 @@
                 <if test="record.status != null and record.status != ''">
                     and a.status = #{record.status}
                 </if>
+                <if test="record.isRobot != null">
+                    and a.is_robot = #{record.isRobot}
+                </if>
             </if>
         </where>
         group by a.user_id

--
Gitblit v1.9.1