...
|
...
|
@@ -21,24 +21,24 @@ |
|
|
insert into storage_price (id, skup, product_id, goods_id,
|
|
|
storage_id, depot_num, seller_uid,
|
|
|
price, status, update_time,
|
|
|
create_time,pre_sale_flag)
|
|
|
create_time,pre_sale_flag,region)
|
|
|
values (#{id,jdbcType=INTEGER}, #{skup,jdbcType=INTEGER}, #{productId,jdbcType=INTEGER}, #{goodsId,jdbcType=INTEGER},
|
|
|
#{storageId,jdbcType=INTEGER}, #{depotNum,jdbcType=INTEGER}, #{sellerUid,jdbcType=INTEGER},
|
|
|
#{price,jdbcType=DECIMAL}, #{status,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER},
|
|
|
#{createTime,jdbcType=INTEGER},#{preSaleFlag,jdbcType=INTEGER})
|
|
|
#{createTime,jdbcType=INTEGER},#{preSaleFlag,jdbcType=INTEGER},#{region,jdbcType=INTEGER})
|
|
|
</insert>
|
|
|
|
|
|
<insert id="insertBatch">
|
|
|
insert into storage_price (skup, product_id, goods_id,
|
|
|
storage_id, depot_num, seller_uid,
|
|
|
price, status, update_time,
|
|
|
create_time,pre_sale_flag)
|
|
|
create_time,pre_sale_flag,region)
|
|
|
values
|
|
|
<foreach collection="storagePriceList" item="item" index="index" separator="," >
|
|
|
(#{item.skup,jdbcType=INTEGER}, #{item.productId,jdbcType=INTEGER},
|
|
|
#{item.goodsId,jdbcType=INTEGER},#{item.storageId,jdbcType=INTEGER}, #{item.depotNum,jdbcType=INTEGER}, #{item.sellerUid,jdbcType=INTEGER},
|
|
|
#{item.price,jdbcType=DECIMAL}, #{item.status,jdbcType=INTEGER}, #{item.updateTime,jdbcType=INTEGER},
|
|
|
#{item.createTime,jdbcType=INTEGER},#{item.preSaleFlag,jdbcType=INTEGER})
|
|
|
#{item.createTime,jdbcType=INTEGER},#{item.preSaleFlag,jdbcType=INTEGER},#{item.region,jdbcType=INTEGER})
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
|
...
|
...
|
|