From 9543e94c48876ba01cfb3627baad82881cb1ea25 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Mon, 30 Jun 2025 18:49:45 +0800
Subject: [PATCH] 演示站环境
---
src/main/resources/mapper/UserStockSubscribeMapper.xml | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/mapper/UserStockSubscribeMapper.xml b/src/main/resources/mapper/UserStockSubscribeMapper.xml
index 0713607..86f0b91 100644
--- a/src/main/resources/mapper/UserStockSubscribeMapper.xml
+++ b/src/main/resources/mapper/UserStockSubscribeMapper.xml
@@ -24,6 +24,7 @@
<result column="fix_time" property="fixTime" />
<result column="remarks" property="remarks" />
<result column="type" property="type" />
+ <result column="db_money" property="dbMoney"/>
</resultMap>
<sql id="Base_Column_List">
@@ -46,7 +47,8 @@
end_time,
fix_time,
remarks,
- type
+ type,
+ db_money
</sql>
<insert id="insert1" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.UserStockSubscribe">
@@ -199,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>
@@ -212,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