insert into mk_store_topic_goods_temp( `apply_type`,guid, `store_rela_id`, `is_valid`,is_submit,is_button_cannel, store_topic_id, `note`, `creater_sn`, `create_time`, `moder_sn`, `mod_time`, `tstm`) values( #{applyType},#{guid}, #{storeRelaId}, #{isValid},#{isSubmit},#{isButtonCannel}, #{storeTopicId}, #{note}, #{createrSn}, #{createTime}, #{moderSn}, #{modTime}, #{tstm}) update mk_store_topic_goods_temp `apply_type` = #{applyType}, guid = #{guid}, `store_rela_id` = #{storeRelaId}, `is_valid` = #{isValid}, `is_submit` = #{isSubmit}, `is_button_cannel` = #{isButtonCannel}, `store_topic_id` = #{storeTopicId}, `note` = #{note}, `creater_sn` = #{createrSn}, `create_time` = #{createTime}, `moder_sn` = #{moderSn}, `mod_time` = #{modTime}, `tstm` = #{tstm} where disc_good_temp_id = #{discGoodTempId} delete from mk_store_topic_goods_temp where disc_good_temp_id = #{value} delete from mk_store_topic_goods_temp where disc_good_temp_id in #{discGoodTempId} delete from mk_store_topic_goods_temp where guid = #{guid} delete from mk_store_topic_goods_temp where store_topic_id = #{storeTopicId} and store_rela_id = #{storeRelaId} delete from mk_store_topic_goods_temp where store_topic_id = #{storeTopicId}