|
@@ -23,13 +23,14 @@ |
|
@@ -23,13 +23,14 @@ |
23
|
<result column="order_by" property="orderBy" jdbcType="INTEGER"/>
|
23
|
<result column="order_by" property="orderBy" jdbcType="INTEGER"/>
|
24
|
<result column="is_syn_calender" property="isSynCalender" jdbcType="TINYINT" />
|
24
|
<result column="is_syn_calender" property="isSynCalender" jdbcType="TINYINT" />
|
25
|
<result column="offer_price" property="offerPrice" jdbcType="DECIMAL" />
|
25
|
<result column="offer_price" property="offerPrice" jdbcType="DECIMAL" />
|
|
|
26
|
+ <result column="show_channel" property="showChannel" jdbcType="VARCHAR" />
|
26
|
</resultMap>
|
27
|
</resultMap>
|
27
|
|
28
|
|
28
|
<sql id="Base_Column_List">
|
29
|
<sql id="Base_Column_List">
|
29
|
- id, product_name, product_code, max_sort_id,mid_sort_id, brand_id, series_id, gender, sale_time,
|
|
|
30
|
- min_price, max_price, shelve_time, edit_time, shelve_status,
|
|
|
31
|
- storage, key_words, del_status,order_by,is_syn_calender,
|
|
|
32
|
- offer_price
|
30
|
+ id, product_name, product_code, max_sort_id,mid_sort_id, brand_id, series_id, gender, sale_time,
|
|
|
31
|
+ min_price, max_price, shelve_time, edit_time, shelve_status,
|
|
|
32
|
+ storage, key_words, del_status,order_by,is_syn_calender,
|
|
|
33
|
+ offer_price,show_channel
|
33
|
</sql>
|
34
|
</sql>
|
34
|
|
35
|
|
35
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer">
|
36
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer">
|
|
@@ -107,6 +108,9 @@ |
|
@@ -107,6 +108,9 @@ |
107
|
<if test="offerPrice != null" >
|
108
|
<if test="offerPrice != null" >
|
108
|
offer_price,
|
109
|
offer_price,
|
109
|
</if>
|
110
|
</if>
|
|
|
111
|
+ <if test="showChannel != null" >
|
|
|
112
|
+ show_channel,
|
|
|
113
|
+ </if>
|
110
|
</trim>
|
114
|
</trim>
|
111
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
115
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
112
|
<if test="id != null">
|
116
|
<if test="id != null">
|
|
@@ -169,6 +173,9 @@ |
|
@@ -169,6 +173,9 @@ |
169
|
<if test="offerPrice != null" >
|
173
|
<if test="offerPrice != null" >
|
170
|
#{offerPrice,jdbcType=DECIMAL},
|
174
|
#{offerPrice,jdbcType=DECIMAL},
|
171
|
</if>
|
175
|
</if>
|
|
|
176
|
+ <if test="showChannel != null" >
|
|
|
177
|
+ #{showChannel,jdbcType=VARCHAR},
|
|
|
178
|
+ </if>
|
172
|
</trim>
|
179
|
</trim>
|
173
|
</insert>
|
180
|
</insert>
|
174
|
|
181
|
|
|
@@ -232,6 +239,9 @@ |
|
@@ -232,6 +239,9 @@ |
232
|
<if test="offerPrice != null" >
|
239
|
<if test="offerPrice != null" >
|
233
|
offer_price = #{offerPrice,jdbcType=DECIMAL},
|
240
|
offer_price = #{offerPrice,jdbcType=DECIMAL},
|
234
|
</if>
|
241
|
</if>
|
|
|
242
|
+ <if test="showChannel != null" >
|
|
|
243
|
+ show_channel = #{showChannel,jdbcType=VARCHAR},
|
|
|
244
|
+ </if>
|
235
|
</set>
|
245
|
</set>
|
236
|
where id = #{id,jdbcType=INTEGER}
|
246
|
where id = #{id,jdbcType=INTEGER}
|
237
|
</update>
|
247
|
</update>
|
|
@@ -256,7 +266,8 @@ |
|
@@ -256,7 +266,8 @@ |
256
|
del_status = #{delStatus,jdbcType=TINYINT},
|
266
|
del_status = #{delStatus,jdbcType=TINYINT},
|
257
|
order_by = #{orderBy,jdbcType=INTEGER},
|
267
|
order_by = #{orderBy,jdbcType=INTEGER},
|
258
|
is_syn_calender = #{isSynCalender,jdbcType=TINYINT},
|
268
|
is_syn_calender = #{isSynCalender,jdbcType=TINYINT},
|
259
|
- offer_price = #{offerPrice,jdbcType=DECIMAL}
|
269
|
+ offer_price = #{offerPrice,jdbcType=DECIMAL},
|
|
|
270
|
+ show_channel = #{showChannel,jdbcType=VARCHAR}
|
260
|
where id = #{id,jdbcType=INTEGER}
|
271
|
where id = #{id,jdbcType=INTEGER}
|
261
|
</update>
|
272
|
</update>
|
262
|
|
273
|
|