insert into price_config (scenic_id, type, goods_ids, price, slash_price, create_time, update_time)
values (#{scenicId}, #{type}, #{goodsIds}, #{price}, #{slashPrice}, now(), now())
update price_config
scenic_id = #{scenicId},
type = #{type},
goods_ids = #{goodsIds},
price = #{price},
slash_price = #{slashPrice},
update_time = now()
where id = #{id}
update price_config
set `status` = IF(`status` = 0, 1, 0),
update_time = now()
where id = #{id}
delete from price_config where id = #{id}