select member_coupon_id, user_id, coupon_id, name, enough_price, price, type, create_at, is_used from mall_member_coupon
insert into mall_member_coupon
user_id,
coupon_id,
name,
enough_price,
price,
type,
create_at,
is_used,
#{userId},
#{couponId},
#{name},
#{enoughPrice},
#{price},
#{type},
#{createAt},
#{isUsed},
update mall_member_coupon
user_id = #{userId},
coupon_id = #{couponId},
name = #{name},
enough_price = #{enoughPrice},
price = #{price},
type = #{type},
create_at = #{createAt},
is_used = #{isUsed},
where member_coupon_id = #{memberCouponId}
delete from mall_member_coupon where member_coupon_id = #{memberCouponId}
delete from mall_member_coupon where member_coupon_id in
#{memberCouponId}