select id,
coupon_id,
store_category,
store_id,
store_name,
goods_id,
goods_name,
goods_price,
create_time,
create_by
from zdy_coupon_item
insert into zdy_coupon_item
id,
coupon_id,
store_category,
store_id,
store_name,
goods_id,
goods_name,
goods_price,
create_time,
create_by,
#{id},
#{couponId},
#{storeCategory},
#{storeId},
#{storeName},
#{goodsId},
#{goodsName},
#{goodsPrice},
#{createTime},
#{createBy},
update zdy_coupon_item
coupon_id =
#{couponId},
store_category =
#{storeCategory},
store_id =
#{storeId},
store_name =
#{storeName},
goods_id =
#{goodsId},
goods_name =
#{goodsName},
goods_price =
#{goodsPrice},
create_time =
#{createTime},
create_by =
#{createBy},
where id = #{id}
delete
from zdy_coupon_item
where id = #{id}
delete from zdy_coupon_item where id in
#{id}
delete
from zdy_coupon_item
where coupon_id = #{couponId}