insert into offline_cart(
`user_id`,
`goods_id`,
`sku`,
`goods_sn`,
`product_id`,
`prod_barcode`,
`goods_name`,
`market_price`,
`retail_price`,
`number`,
`stock_num`,
`list_pic_url`,
`store_id`,
`creater_sn`,
`create_time`,
`moder_sn`,
`mod_time`,
`tstm`)
values(
#{userId},
#{goodsId},
#{sku},
#{goodsSn},
#{productId},
#{prodBarcode},
#{goodsName},
#{marketPrice},
#{retailPrice},
#{number},
#{stockNum},
#{listPicUrl},
#{storeId},
#{createrSn},
#{createTime},
#{moderSn},
#{modTime},
#{tstm})
update offline_cart
`user_id` = #{userId},
`goods_id` = #{goodsId},
`sku` = #{sku},
`goods_sn` = #{goodsSn},
`product_id` = #{productId},
`prod_barcode` = #{prodBarcode},
`goods_name` = #{goodsName},
`market_price` = #{marketPrice},
`retail_price` = #{retailPrice},
`number` = #{number},
`stock_num` = #{stockNum},
`list_pic_url` = #{listPicUrl},
`store_id` = #{storeId},
`creater_sn` = #{createrSn},
`create_time` = #{createTime},
`moder_sn` = #{moderSn},
`mod_time` = #{modTime},
`tstm` = #{tstm}
where id = #{id}
delete from offline_cart where id = #{value}
delete from offline_cart where user_id = #{userId}
delete from offline_cart where id in
#{id}