insert into mk_store_ticket_discount( `tick_disc_type`, `tick_disc_sub_title`, `merch_sn`, `third_merch_sn`, `store_id`, goods_biz_type, `store_topic_id`, `name`, `voucher_money`, `voucher_cond`, `disc_ratio`, `disc_cond`, `exch_cond`, `effect_time_type`, `fix_beg_time`, `fix_end_time`, `postpone_num`, `valid_day_num`, `ticket_num`, `apply_type`, `get_enter`, `can_share_get`, `limit_num`, `adv_img_url`, `store_logo_url`, `store_name`, `ticket_color`, `opt_decl`, `disc_decl`, `use_noti`, `svr_tel`, `is_valid`, is_past, is_store_show, disc_sell_count, disc_sell_doller, guid, `note`, `creater_sn`, `create_time`, `moder_sn`, `mod_time`, `tstm`, `send_type`) values( #{tickDiscType}, #{tickDiscSubTitle}, #{merchSn}, #{thirdMerchSn}, #{storeId}, #{goodsBizType}, #{storeTopicId}, #{name}, #{voucherMoney}, #{voucherCond}, #{discRatio}, #{discCond}, #{exchCond}, #{effectTimeType}, #{fixBegTime}, #{fixEndTime}, #{postponeNum}, #{validDayNum}, #{ticketNum}, #{applyType}, #{getEnter}, #{canShareGet}, #{limitNum}, #{advImgUrl}, #{storeLogoUrl}, #{storeName}, #{ticketColor}, #{optDecl}, #{discDecl}, #{useNoti}, #{svrTel}, #{isValid}, #{isPast}, #{isStoreShow}, #{discSellCount}, #{discSellDoller}, #{guid}, #{note}, #{createrSn}, #{createTime}, #{moderSn}, #{modTime}, #{tstm}, #{sendType}) update mk_store_ticket_discount `tick_disc_type` = #{tickDiscType}, `tick_disc_sub_title` = #{tickDiscSubTitle}, `merch_sn` = #{merchSn}, `third_merch_sn` = #{thirdMerchSn}, `store_id` = #{storeId}, `goods_biz_type` = #{goodsBizType}, `store_topic_id` = #{storeTopicId}, `name` = #{name}, `voucher_money` = #{voucherMoney}, `voucher_cond` = #{voucherCond}, `disc_ratio` = #{discRatio}, `disc_cond` = #{discCond}, `exch_cond` = #{exchCond}, `effect_time_type` = #{effectTimeType}, `fix_beg_time` = #{fixBegTime}, `fix_end_time` = #{fixEndTime}, `postpone_num` = #{postponeNum}, `valid_day_num` = #{validDayNum}, `ticket_num` = #{ticketNum}, `apply_type` = #{applyType}, `get_enter` = #{getEnter}, `can_share_get` = #{canShareGet}, `limit_num` = #{limitNum}, `adv_img_url` = #{advImgUrl}, `store_logo_url` = #{storeLogoUrl}, `store_name` = #{storeName}, `ticket_color` = #{ticketColor}, `opt_decl` = #{optDecl}, `disc_decl` = #{discDecl}, `use_noti` = #{useNoti}, `svr_tel` = #{svrTel}, `is_valid` = #{isValid}, `is_past` = #{isPast}, `is_store_show` = #{isStoreShow}, `disc_sell_count` = #{discSellCount}, `disc_sell_doller` = #{discSellDoller}, `guid` = #{guid}, `note` = #{note}, `creater_sn` = #{createrSn}, `create_time` = #{createTime}, `moder_sn` = #{moderSn}, `mod_time` = #{modTime}, `tstm` = #{tstm}, `send_type` = #{sendType} where tick_disc_id = #{tickDiscId} delete from mk_store_ticket_discount where tick_disc_id = #{value} delete from mk_store_ticket_discount where tick_disc_id in #{tickDiscId}