From b82ea69a5ee885f0a24ae92be482fb63da92d859 Mon Sep 17 00:00:00 2001
From: peter <14100000001@qq.com>
Date: Thu, 08 Jan 2026 13:58:13 +0800
Subject: [PATCH] 修改
---
src/main/resources/mapper/SiteProductMapper.xml | 35 +++++++++++++++++++++++++++++++----
1 files changed, 31 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/mapper/SiteProductMapper.xml b/src/main/resources/mapper/SiteProductMapper.xml
index 8f96075..62ad9d4 100644
--- a/src/main/resources/mapper/SiteProductMapper.xml
+++ b/src/main/resources/mapper/SiteProductMapper.xml
@@ -16,6 +16,10 @@
<arg column="end_display" jdbcType="BIT" javaType="java.lang.Boolean" />
<arg column="stock_margin_display" jdbcType="BIT" javaType="java.lang.Boolean" />
<arg column="holiday_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="stock_dz_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+ <arg column="tran_withdraw_display" jdbcType="BIT" javaType="java.lang.Boolean" />
+
+
</constructor>
</resultMap>
<sql id="Base_Column_List" >
@@ -26,7 +30,7 @@
margin_display,
end_display,
stock_margin_display,
- holiday_display
+ holiday_display,stock_dz_display,tran_withdraw_display
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
select
@@ -45,11 +49,11 @@
delay_display,
expand_display,
margin_display,
- end_display)
+ end_display,stock_dz_display,tran_withdraw_display)
values (#{id,jdbcType=INTEGER}, #{stockDisplay,jdbcType=BIT}, #{kcStockDisplay,jdbcType=BIT},
#{indexDisplay,jdbcType=BIT}, #{futuresDisplay,jdbcType=BIT}, #{realNameDisplay,jdbcType=BIT}
, #{fundsDisplay,jdbcType=BIT}, #{delayDisplay,jdbcType=BIT}, #{expandDisplay,jdbcType=BIT}
- , #{marginDisplay,jdbcType=BIT}, #{endDisplay,jdbcType=BIT})
+ , #{marginDisplay,jdbcType=BIT}, #{endDisplay,jdbcType=BIT},#{stockDzDisplay,jdbcType=BIT},#{tranWithdrawDisplay,jdbcType=BIT})
</insert>
<insert id="insertSelective" parameterType="com.nq.pojo.SiteProduct" >
insert into site_product
@@ -87,6 +91,13 @@
<if test ='null != endDisplay'>
end_display
</if>
+ <if test ='null != stockDzDisplay'>
+ stock_dz_display
+ </if>
+ <if test ='null != tranWithdrawDisplay'>
+ tran_withdraw_display
+ </if>
+
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
@@ -122,6 +133,13 @@
<if test ='null != endDisplay'>
#{endDisplay,jdbcType=BIT}
</if>
+ <if test ='null != stockDzDisplay'>
+ #{stockDzDisplay,jdbcType=BIT}
+ </if>
+ <if test ='null != tranWithdrawDisplay'>
+ #{tranWithdrawDisplay,jdbcType=BIT}
+ </if>
+
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteProduct" >
@@ -145,6 +163,13 @@
<if test="fundsDisplay != null" >
funds_display = #{fundsDisplay,jdbcType=BIT},
</if>
+ <if test="stockDzDisplay != null" >
+ stock_dz_display = #{stockDzDisplay,jdbcType=BIT},
+ </if>
+ <if test="stockDzDisplay != null" >
+ tran_withdraw_display = #{tranWithdrawDisplay,jdbcType=BIT},
+ </if>
+
<if test ='null != delayDisplay'>delay_display = #{delayDisplay},</if>
<if test ='null != expandDisplay'>expand_display = #{expandDisplay},</if>
<if test ='null != marginDisplay'>margin_display = #{marginDisplay},</if>
@@ -162,7 +187,9 @@
index_display = #{indexDisplay,jdbcType=BIT},
futures_display = #{futuresDisplay,jdbcType=BIT},
real_name_display = #{realNameDisplay,jdbcType=BIT},
- funds_display = #{fundsDisplay,jdbcType=BIT}
+ funds_display = #{fundsDisplay,jdbcType=BIT},
+ stock_dz_display = #{stockDzDisplay,jdbcType=BIT},
+ tran_withdraw_display = #{tranWithdrawDisplay,jdbcType=BIT}
where id = #{id,jdbcType=INTEGER}
</update>
--
Gitblit v1.9.3