insert into mall_goods( `category_id`, `supplier_id`, `goods_sn`, `prod_barcode`, `sku`, `goods_biz_type`, `name`, `unit_code`, `brand_id`, `brand`, `freight_id`, `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`, `attribute_category`, `counter_price`, `extra_price`, `is_new`, `goods_unit`, `primary_pic_url`, `list_pic_url`, `goods_rate`, `retail_price`, `sell_volume`, `primary_product_id`, `unit_price`, `promotion_desc`, `promotion_tag`, `app_exclusive_price`, `is_app_exclusive`, `is_limited`, `is_hot`, `market_price`, `creater_sn`, `create_time`, `moder_sn`, `mod_time`, `tstm`) values( #{categoryId}, #{supplierId}, #{goodsSn}, #{prodBarcode}, #{sku}, #{goodsBizType}, #{name}, #{unitCode}, #{brandId}, #{brand}, #{freightId}, #{goodsNumber}, #{keywords}, #{goodsBrief}, #{goodsDesc}, #{cusGoodsCode}, #{ciqProdModel}, #{oriCntCode}, #{cusDeclEle}, #{cusRecCode}, #{isOnSale}, #{addTime}, #{sortOrder}, #{isDelete}, #{attributeCategory}, #{counterPrice}, #{extraPrice}, #{isNew}, #{goodsUnit}, #{primaryPicUrl}, #{listPicUrl}, #{goodsRate}, #{retailPrice}, #{sellVolume}, #{primaryProductId}, #{unitPrice}, #{promotionDesc}, #{promotionTag}, #{appExclusivePrice}, #{isAppExclusive}, #{isLimited}, #{isHot}, #{marketPrice}, #{createrSn}, #{createTime}, #{moderSn}, #{modTime}, #{tstm}) update mall_goods `category_id` = #{categoryId}, `supplier_id` = #{supplierId}, `goods_sn` = #{goodsSn}, `prod_barcode` = #{prodBarcode}, `sku` = #{sku}, `goods_biz_type` = #{goodsBizType}, `name` = #{name}, `unit_code` = #{unitCode}, `brand_id` = #{brandId}, `brand` = #{brand}, `freight_id` = #{freightId}, `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}, `attribute_category` = #{attributeCategory}, `counter_price` = #{counterPrice}, `extra_price` = #{extraPrice}, `is_new` = #{isNew}, `goods_unit` = #{goodsUnit}, `primary_pic_url` = #{primaryPicUrl}, `list_pic_url` = #{listPicUrl}, `goods_rate` = #{goodsRate}, `retail_price` = #{retailPrice}, `sell_volume` = #{sellVolume}, `primary_product_id` = #{primaryProductId}, `unit_price` = #{unitPrice}, `promotion_desc` = #{promotionDesc}, `promotion_tag` = #{promotionTag}, `app_exclusive_price` = #{appExclusivePrice}, `is_app_exclusive` = #{isAppExclusive}, `is_limited` = #{isLimited}, `is_hot` = #{isHot}, `market_price` = #{marketPrice}, `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}