insert into mk_dist_sell_statis( `dist_flag`, `third_merch_sn`, `supplier_id`, `dist_id`, order_sn, `goods_id`, `goods_price`, `sell_alloc_history_id`, `expend_dist_id`, `expend_dist_price`, `expend_dist_level`, `expend_source`, `is_valid`, `note`, `creater_sn`, `create_time`, `moder_sn`, `mod_time`, `tstm`) values( #{distFlag}, #{thirdMerchSn}, #{supplierId}, #{distId}, #{orderSn}, #{goodsId}, #{goodsPrice}, #{sellAllocHistoryId}, #{expendDistId}, #{expendDistPrice}, #{expendDistLevel}, #{expendSource}, #{isValid}, #{note}, #{createrSn}, #{createTime}, #{moderSn}, #{modTime}, #{tstm}) update mk_dist_sell_statis `dist_flag` = #{distFlag}, `third_merch_sn` = #{thirdMerchSn}, `supplier_id` = #{supplierId}, `dist_id` = #{distId}, `order_sn` = #{orderSn}, `goods_id` = #{goodsId}, `goods_price` = #{goodsPrice}, `sell_alloc_history_id` = #{sellAllocHistoryId}, `expend_dist_id` = #{expendDistId}, `expend_dist_price` = #{expendDistPrice}, `expend_dist_level` = #{expendDistLevel}, `expend_source` = #{expendSource}, `is_valid` = #{isValid}, `note` = #{note}, `creater_sn` = #{createrSn}, `create_time` = #{createTime}, `moder_sn` = #{moderSn}, `mod_time` = #{modTime}, `tstm` = #{tstm} where id = #{id} delete from mk_dist_sell_statis where id = #{value} delete from mk_dist_sell_statis where id in #{id}