From 3cfb3d987566f4baf5563a52dced85c9bd8a5391 Mon Sep 17 00:00:00 2001
From: dd <gitluke@outlook.com>
Date: Fri, 26 Dec 2025 01:47:15 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/UserStockSubscribeMapper.xml |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/UserStockSubscribeMapper.xml b/src/main/resources/mapper/UserStockSubscribeMapper.xml
index f80cfda..86f0b91 100644
--- a/src/main/resources/mapper/UserStockSubscribeMapper.xml
+++ b/src/main/resources/mapper/UserStockSubscribeMapper.xml
@@ -201,9 +201,8 @@
     </update>
 
 
-    <select id="load" resultMap="BaseResultMap">
-        SELECT <include refid="Base_Column_List" />
-        FROM user_stock_subscribe
+    <select id="load" resultType="com.nq.pojo.UserStockSubscribe" parameterType="int">
+        SELECT * FROM user_stock_subscribe
         WHERE id = #{id}
     </select>
 
@@ -214,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