t.channel_price_id,
t.channel_id,
t.product_id,
t.color_id,
t.channel_price_offer,
t.channel_price_status,
t.channel_price_create_time,
t.channel_price_update_time
insert into
tb_iamberry_channel_price
(
channel_id,
product_id,
color_id,
channel_price_offer,
channel_price_status
)
values
(
#{channelId},
#{productId},
#{colorId},
#{channelPriceOffer},
#{channelPriceStatus}
)
update
tb_iamberry_channel_price
channel_id = #{channelId},
product_id = #{productId},
color_id = #{colorId},
channel_price_offer = #{channelPriceOffer},
channel_price_status = #{channelPriceStatus},
where channel_price_id= #{channelPriceId}
delete
tb_iamberry_channel_price
where channel_price_id=#{channelPriceId}
insert into
tb_iamberry_channel_price
(
channel_id,
product_id,
color_id,
channel_price_offer,
channel_price_status
)
values
(
#{node.channelId},
#{node.productId},
#{node.colorId},
#{node.channelPriceOffer},
#{node.channelPriceStatus}
)
delete
tb_iamberry_channel_price
where channel_price_id in
#{item}