select coupon_id, type, discount_percent, area_id, user_id, discount_amount, create_time, expiration_time, status from et_coupon
insert into et_coupon
type,
discount_percent,
area_id,
user_id,
discount_amount,
create_time,
expiration_time,
status,
#{type},
#{discountPercent},
#{areaId},
#{userId},
#{discountAmount},
#{createTime},
#{expirationTime},
#{status},
update et_coupon
type = #{type},
discount_percent = #{discountPercent},
area_id = #{areaId},
user_id = #{userId},
discount_amount = #{discountAmount},
create_time = #{createTime},
expiration_time = #{expirationTime},
status = #{status},
where coupon_id = #{couponId}
delete from et_coupon where coupon_id = #{couponId}
delete from et_coupon where coupon_id in
#{couponId}