|
@@ -8,11 +8,12 @@
|
|
|
<result property="productName" column="product_name"/>
|
|
|
<result property="activityPrice" column="activity_price"/>
|
|
|
<result property="shopSn" column="shop_sn"/>
|
|
|
- <result property="goodsSn" column="goods_sn"/>
|
|
|
+ <result property="sku" column="sku"/>
|
|
|
<result property="barcode" column="barcode"/>
|
|
|
<result property="productBrand" column="product_brand"/>
|
|
|
<result property="productSeries" column="product_series"/>
|
|
|
<result property="mkaId" column="mka_id"/>
|
|
|
+ <result property="rejectScore" column="reject_score"/>
|
|
|
<result property="deadline" column="deadline"/>
|
|
|
<result property="createTime" column="create_time"/>
|
|
|
<result property="createrSn" column="creater_sn"/>
|
|
@@ -26,11 +27,12 @@
|
|
|
`product_name`,
|
|
|
`activity_price`,
|
|
|
`shop_sn`,
|
|
|
- `goods_sn`,
|
|
|
+ `sku`,
|
|
|
`barcode`,
|
|
|
`product_brand`,
|
|
|
`product_series`,
|
|
|
`mka_id`,
|
|
|
+ `reject_score`,
|
|
|
`deadline`,
|
|
|
`create_time`,
|
|
|
`creater_sn`,
|
|
@@ -46,11 +48,12 @@
|
|
|
`product_name`,
|
|
|
`activity_price`,
|
|
|
`shop_sn`,
|
|
|
- `goods_sn`,
|
|
|
+ `sku`,
|
|
|
`barcode`,
|
|
|
`product_brand`,
|
|
|
`product_series`,
|
|
|
`mka_id`,
|
|
|
+ `reject_score`,
|
|
|
`deadline`,
|
|
|
`create_time`,
|
|
|
`creater_sn`,
|
|
@@ -99,11 +102,12 @@
|
|
|
`product_name`,
|
|
|
`activity_price`,
|
|
|
`shop_sn`,
|
|
|
- `goods_sn`,
|
|
|
+ `sku`,
|
|
|
`barcode`,
|
|
|
`product_brand`,
|
|
|
`product_series`,
|
|
|
`mka_id`,
|
|
|
+ `reject_score`,
|
|
|
`deadline`,
|
|
|
`create_time`,
|
|
|
`creater_sn`,
|
|
@@ -113,11 +117,12 @@
|
|
|
#{productName},
|
|
|
#{activityPrice},
|
|
|
#{shopSn},
|
|
|
- #{goodsSn},
|
|
|
+ #{sku},
|
|
|
#{barcode},
|
|
|
#{productBrand},
|
|
|
#{productSeries},
|
|
|
#{mkaId},
|
|
|
+ #{rejectScore},
|
|
|
#{deadline},
|
|
|
#{createTime},
|
|
|
#{createrSn},
|
|
@@ -131,11 +136,12 @@
|
|
|
<if test="productName != null">`product_name` = #{productName}, </if>
|
|
|
<if test="activityPrice != null">`activity_price` = #{activityPrice}, </if>
|
|
|
<if test="shopSn != null">`shop_sn` = #{shopSn}, </if>
|
|
|
- <if test="goodsSn != null">`goods_sn` = #{goodsSn}, </if>
|
|
|
+ <if test="sku != null">`sku` = #{sku}, </if>
|
|
|
<if test="barcode != null">`barcode` = #{barcode}, </if>
|
|
|
<if test="productBrand != null">`product_brand` = #{productBrand}, </if>
|
|
|
<if test="productSeries != null">`product_series` = #{productSeries}, </if>
|
|
|
<if test="mkaId != null">`mka_id` = #{mkaId}, </if>
|
|
|
+ <if test="rejectScore != null">`reject_score` = #{rejectScore}, </if>
|
|
|
<if test="deadline != null">`deadline` = #{deadline}, </if>
|
|
|
<if test="createTime != null">`create_time` = #{createTime}, </if>
|
|
|
<if test="createrSn != null">`creater_sn` = #{createrSn}, </if>
|
|
@@ -162,11 +168,12 @@
|
|
|
`product_name`,
|
|
|
`activity_price`,
|
|
|
`shop_sn`,
|
|
|
- `goods_sn`,
|
|
|
+ `sku`,
|
|
|
`barcode`,
|
|
|
`product_brand`,
|
|
|
`product_series`,
|
|
|
`mka_id`,
|
|
|
+ `reject_score`,
|
|
|
`deadline`,
|
|
|
`create_time`,
|
|
|
`creater_sn`,
|
|
@@ -183,11 +190,12 @@
|
|
|
pro.product_name,
|
|
|
pro.activity_price,
|
|
|
pro.shop_sn,
|
|
|
- pro.goods_sn,
|
|
|
+ pro.sku,
|
|
|
pro.barcode,
|
|
|
pro.product_brand,
|
|
|
pro.product_series,
|
|
|
pro.mka_id,
|
|
|
+ pro.reject_score,
|
|
|
pro.deadline,
|
|
|
pro.create_time,
|
|
|
pro.creater_sn,
|
|
@@ -210,11 +218,12 @@
|
|
|
product_name,
|
|
|
activity_price,
|
|
|
shop_sn,
|
|
|
- goods_sn,
|
|
|
+ sku,
|
|
|
barcode,
|
|
|
product_brand,
|
|
|
product_series,
|
|
|
mka_id,
|
|
|
+ reject_score,
|
|
|
deadline,
|
|
|
create_time,
|
|
|
creater_sn,
|
|
@@ -226,7 +235,7 @@
|
|
|
|
|
|
|
|
|
<update id="updatePriceBySku" >
|
|
|
- update mk_activities_promotion set activity_price = #{updatePrice} where goods_sn = #{sku}
|
|
|
+ update mk_activities_promotion set activity_price = #{updatePrice} where sku = #{sku}
|
|
|
and mka_id = #{mkaId}
|
|
|
</update>
|
|
|
|