insert into mall_goods_product(
`mall_goods_product_sn`,
`merch_sn`,
`third_merch_sn`,
`prod_barcode`,
`sku`,
`cus_goods_code`,
`prod_name`,
`prod_ename`,
`prod_record_name`,
`prod_record_ename`,
`ciq_prod_model`,
`prod_brand`,
`ori_cnt_code`,
`unit_code`,
`decl_price`,
`decl_currency_code`,
`supplier_name`,
`supplier_cnt_code`,
`prod_comp_name`,
`prod_comp_cnt_code`,
`ciq_main_ele`,
`ciq_monitor_type`,
`is_law`,
`is_gift`,
`cus_decl_ele`,
`creater_sn`,
`create_time`,
`moder_sn`,
`mod_time`,
`tstm`,
`ex_field`,
`ex_field2`,
`ex_field3`,
`ex_field4`,
`ex_field5`,
`legal_unit1_qty`,
`net_weight`,
`legal_unit2_qty`,
`gross_weight`,
`local_ems_no`,
`item_record_no`,
`is_send`,
`ems_class_code`,
`up_img`,
`down_img`,
`left_img`,
`right_img`,
`before_img`,
`after_img`)
values(
#{mallGoodsProductSn},
#{merchSn},
#{thirdMerchSn},
#{prodBarcode},
#{sku},
#{cusGoodsCode},
#{prodName},
#{prodEname},
#{prodRecordName},
#{prodRecordEname},
#{ciqProdModel},
#{prodBrand},
#{oriCntCode},
#{unitCode},
#{declPrice},
#{declCurrencyCode},
#{supplierName},
#{supplierCntCode},
#{prodCompName},
#{prodCompCntCode},
#{ciqMainEle},
#{ciqMonitorType},
#{isLaw},
#{isGift},
#{cusDeclEle},
#{createrSn},
#{createTime},
#{moderSn},
#{modTime},
#{tstm},
#{exField},
#{exField2},
#{exField3},
#{exField4},
#{exField5},
#{legalUnit1Qty},
#{netWeight},
#{legalUnit2Qty},
#{grossWeight},
#{localEmsNo},
#{itemRecordNo},
'0',
#{emsClassCode},
#{upImg},
#{dowmImg},
#{leftImg},
#{rightImg},
#{beforeImg},
#{afterImg})
update mall_goods_product
`merch_sn` = #{merchSn},
`third_merch_sn` = #{thirdMerchSn},
`prod_barcode` = #{prodBarcode},
`sku` = #{sku},
`cus_goods_code` = #{cusGoodsCode},
`prod_name` = #{prodName},
`prod_ename` = #{prodEname},
`prod_record_name` = #{prodRecordName},
`prod_record_ename` = #{prodRecordEname},
`ciq_prod_model` = #{ciqProdModel},
`prod_brand` = #{prodBrand},
`ori_cnt_code` = #{oriCntCode},
`unit_code` = #{unitCode},
`decl_price` = #{declPrice},
`decl_currency_code` = #{declCurrencyCode},
`supplier_name` = #{supplierName},
`supplier_cnt_code` = #{supplierCntCode},
`prod_comp_name` = #{prodCompName},
`prod_comp_cnt_code` = #{prodCompCntCode},
`ciq_main_ele` = #{ciqMainEle},
`ciq_monitor_type` = #{ciqMonitorType},
`is_law` = #{isLaw},
`is_gift` = #{isGift},
`cus_decl_ele` = #{cusDeclEle},
`creater_sn` = #{createrSn},
`create_time` = #{createTime},
`moder_sn` = #{moderSn},
`mod_time` = #{modTime},
`tstm` = #{tstm},
`ex_field` = #{exField},
`ex_field2` = #{exField2},
`ex_field3` = #{exField3},
`ex_field4` = #{exField4},
`ex_field5` = #{exField5},
`legal_unit1_qty` = #{legalUnit1Qty},
`net_weight` = #{netWeight},
`legal_unit2_qty` = #{legalUnit2Qty},
`gross_weight` = #{grossWeight},
`local_ems_no` = #{localEmsNo},
`item_record_no` = #{itemRecordNo},
`is_send` = #{isSend},
`ems_class_code` = #{emsClassCode},
`up_img` = #{upImg},
`down_img` = #{downImg},
`left_img` = #{leftImg},
`right_img` = #{rightImg},
`before_img` = #{beforeImg},
`after_img` = #{afterImg}
where mall_goods_product_sn = #{mallGoodsProductSn}
delete from mall_goods_product where mall_goods_product_sn = #{value}
delete from mall_goods_product where mall_goods_product_sn in
#{mallGoodsProductSn}