From f37052eabfc9243e2004e7f2d0495f3b838225ad Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Fri, 11 Oct 2024 18:33:06 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/UserStockSubscribeMapper.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/UserStockSubscribeMapper.xml b/src/main/resources/mapper/UserStockSubscribeMapper.xml
index dbad41a..86f0b91 100644
--- a/src/main/resources/mapper/UserStockSubscribeMapper.xml
+++ b/src/main/resources/mapper/UserStockSubscribeMapper.xml
@@ -213,6 +213,15 @@
         <if test="keyword != null and keyword != ''">
             and (user_id = #{keyword} or real_name like CONCAT('%',#{keyword},'%') or phone like CONCAT('%',#{keyword},'%'))
         </if>
+        <if test="agentId != null and agentId != ''">
+            and agent_id = #{agentId}
+        </if>
+        <if test="name != null and name != ''">
+            and new_name = #{name}
+        </if>
+        <if test="status != null and status != ''">
+            and status = #{status}
+        </if>
         order by id desc
     </select>
 

--
Gitblit v1.9.3