select coupon_id, name, type, discount_percent, area_id, discount_amount, create_time, validity_value, validity_unit, status, limit_num, `desc`, retail_price, is_hot from et_coupon insert into et_coupon name, type, discount_percent, area_id, discount_amount, create_time, validity_value, validity_unit, status, limit_num, desc, retail_price, is_hot, #{name}, #{type}, #{discountPercent}, #{areaId}, #{discountAmount}, #{createTime}, #{validityValue}, #{validityUnit}, #{status}, #{limitNum}, #{desc}, #{retailPrice}, #{isHot}, update et_coupon name = #{name}, type = #{type}, discount_percent = #{discountPercent}, area_id = #{areaId}, discount_amount = #{discountAmount}, create_time = #{createTime}, validity_value = #{validityValue}, validity_unit = #{validityUnit}, status = #{status}, limit_num = #{limitNum}, desc = #{desc}, retail_price = #{retailPrice}, is_hot = #{isHot}, where coupon_id = #{couponId} delete from et_coupon where coupon_id = #{couponId} delete from et_coupon where coupon_id in #{couponId}