From 9dc40f3aa7df3bdd489bd750d59fec8bac741a23 Mon Sep 17 00:00:00 2001
From: peter <14100000001@qq.com>
Date: Thu, 08 Jan 2026 17:48:09 +0800
Subject: [PATCH] 修改
---
src/main/resources/mapper/UserStockSubscribeMapper.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/UserStockSubscribeMapper.xml b/src/main/resources/mapper/UserStockSubscribeMapper.xml
index bb56cf6..2707b7f 100644
--- a/src/main/resources/mapper/UserStockSubscribeMapper.xml
+++ b/src/main/resources/mapper/UserStockSubscribeMapper.xml
@@ -25,6 +25,8 @@
<result column="fix_time" property="fixTime"/>
<result column="remarks" property="remarks"/>
<result column="type" property="type"/>
+ <result column="discount_price" property="discountPrice"/>
+
</resultMap>
<sql id="Base_Column_List">
@@ -48,6 +50,7 @@
end_time,
fix_time,
remarks,
+ discount_price,
type
</sql>
@@ -114,6 +117,10 @@
<if test='null != type'>
type
</if>
+ <if test='null != discountPrice'>
+ discount_price
+ </if>
+
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test='null != userId'>
@@ -174,6 +181,10 @@
<if test='null != type'>
#{type}
</if>
+ <if test='null != discountPrice'>
+ #{discountPrice}
+ </if>
+
</trim>
</insert>
@@ -204,6 +215,7 @@
<if test='null != fixTime'>fix_time = #{fixTime},</if>
<if test='null != remarks'>remarks = #{remarks}</if>
<if test='null != type'>type = #{type}</if>
+ <if test='null != discountPrice'>type = #{discountPrice}</if>
</set>
WHERE id = #{id}
</update>
--
Gitblit v1.9.3