insert into mall_goods_history_price( `goods_sn`, `sku`, `PLU`, `third_merch_sn`, `merch_sn`, `store_number`, `batch_sn`, `daily_price`, `activeity_price`, `price_time`, `retail_price_date`, `creater_sn`, `create_time`, `moder_sn`, `mod_time`, `tstm`) values( #{goodsSn}, #{sku}, #{plu}, #{thirdMerchSn}, #{merchSn}, #{storeNumber}, #{batchSn}, #{dailyPrice}, #{activeityPrice}, #{priceTime}, #{retailPriceDate}, #{createrSn}, #{createTime}, #{moderSn}, #{modTime}, #{tstm}) update mall_goods_history_price `goods_sn` = #{goodsSn}, `sku` = #{sku}, `PLU` = #{plu}, `third_merch_sn` = #{thirdMerchSn}, `merch_sn` = #{merchSn}, `store_number` = #{storeNumber}, `batch_sn` = #{batchSn}, `daily_price` = #{dailyPrice}, `activeity_price` = #{activeityPrice}, `price_time` = #{priceTime}, `retail_price_date` = #{retailPriceDate}, `creater_sn` = #{createrSn}, `create_time` = #{createTime}, `moder_sn` = #{moderSn}, `mod_time` = #{modTime}, `tstm` = #{tstm} where id = #{id} delete from mall_goods_history_price where id = #{value} delete from mall_goods_history_price where id in #{id}