select id, `type`, `name`, integral, price, enough_price, create_at, update_at, del_flag, is_firing from mall_coupon
insert into mall_coupon
id,`type`,`name`,integral,price,enough_price,create_at,update_at,del_flag,is_firing,#{id},#{type},#{name},#{integral},#{price},#{enoughPrice},#{createAt},#{updateAt},#{delFlag},#{isFiring},
update mall_coupon
type = #{type},`name` = #{name},integral = #{integral},price = #{price},enough_price = #{enoughPrice},create_at = #{createAt},update_at = #{updateAt},del_flag = #{delFlag},is_firing = #{isFiring},
where id = #{id}
delete from mall_coupon where id = #{id}
delete from mall_coupon where id in
#{id}