insert into mall_goods(
`merch_sn`,
third_party_merch_code,
`supplier_id`,
`goods_sn`,
`prod_barcode`,
`sku`,
`goods_biz_type`,
`name`,
`unit_code`,
`brand`,
`goods_number`,
`keywords`,
`goods_brief`,
`goods_desc`,
`cus_goods_code`,
`ciq_prod_model`,
`ori_cnt_code`,
`cus_decl_ele`,
`cus_rec_code`,
`is_on_sale`,
`add_time`,
`sort_order`,
`is_delete`,
`counter_price`,
`extra_price`,
`is_new`,
`goods_unit`,
`primary_pic_url`,
`list_pic_url`,
`goods_rate`,
`sell_volume`,
`primary_product_id`,
`unit_price`,
`promotion_desc`,
`promotion_tag`,
`app_exclusive_price`,
`is_app_exclusive`,
`gross_weight`,
`net_weight`,
is_goods_share_stock,
`is_limited`,
`is_hot`,
`creater_sn`,
`create_time`,
`moder_sn`,
`mod_time`,
`tstm`)
values(
#{merchSn},
#{thirdPartyMerchCode},
#{supplierId},
#{goodsSn},
#{prodBarcode},
#{sku},
#{goodsBizType},
#{name},
#{unitCode},
#{brand},
#{goodsNumber},
#{keywords},
#{goodsBrief},
#{goodsDesc},
#{cusGoodsCode},
#{ciqProdModel},
#{oriCntCode},
#{cusDeclEle},
#{cusRecCode},
#{isOnSale},
#{addTime},
#{sortOrder},
#{isDelete},
#{counterPrice},
#{extraPrice},
#{isNew},
#{goodsUnit},
#{primaryPicUrl},
#{listPicUrl},
#{goodsRate},
#{sellVolume},
#{primaryProductId},
#{unitPrice},
#{promotionDesc},
#{promotionTag},
#{appExclusivePrice},
#{isAppExclusive},
#{grossWeight},
#{netWeight},
#{isGoodsShareStock},
#{isLimited},
#{isHot},
#{createrSn},
#{createTime},
#{moderSn},
#{modTime},
#{tstm})
update mall_goods
`merch_sn` = #{merchSn},
`third_party_merch_code` = #{thirdPartyMerchCode},
`supplier_id` = #{supplierId},
`goods_sn` = #{goodsSn},
`prod_barcode` = #{prodBarcode},
`sku` = #{sku},
`goods_biz_type` = #{goodsBizType},
`name` = #{name},
`unit_code` = #{unitCode},
`brand` = #{brand},
`goods_number` = #{goodsNumber},
`keywords` = #{keywords},
`goods_brief` = #{goodsBrief},
`goods_desc` = #{goodsDesc},
`cus_goods_code` = #{cusGoodsCode},
`ciq_prod_model` = #{ciqProdModel},
`ori_cnt_code` = #{oriCntCode},
`cus_decl_ele` = #{cusDeclEle},
`cus_rec_code` = #{cusRecCode},
`is_on_sale` = #{isOnSale},
`add_time` = #{addTime},
`sort_order` = #{sortOrder},
`is_delete` = #{isDelete},
`counter_price` = #{counterPrice},
`extra_price` = #{extraPrice},
`is_new` = #{isNew},
`goods_unit` = #{goodsUnit},
`primary_pic_url` = #{primaryPicUrl},
`list_pic_url` = #{listPicUrl},
`goods_rate` = #{goodsRate},
`sell_volume` = #{sellVolume},
`primary_product_id` = #{primaryProductId},
`unit_price` = #{unitPrice},
`promotion_desc` = #{promotionDesc},
`promotion_tag` = #{promotionTag},
`app_exclusive_price` = #{appExclusivePrice},
`is_app_exclusive` = #{isAppExclusive},
`gross_weight` = #{grossWeight},
`net_weight` = #{netWeight},
`is_goods_share_stock` = #{isGoodsShareStock},
`is_limited` = #{isLimited},
`is_hot` = #{isHot},
`creater_sn` = #{createrSn},
`create_time` = #{createTime},
`moder_sn` = #{moderSn},
`mod_time` = #{modTime},
`tstm` = #{tstm}
where id = #{id}
delete from mall_goods where id = #{value}
delete from mall_goods where id in
#{id}