`id`, `tenant_id`, `parent_tenant_id`, `type`, `cover_img`, `cover_picture`, `detail_picture`, `title`, `sub_title`, `video_id`, `video_time`, `html`, `is_landscape`, `is_payment`, `sale_price`, `orig_price`, `is_preview`, `preview_duration`, `detail`, `false_sell_count`, `dy_title`, `inventory`, `remark`, `status`, `create_date`, `update_date`, `see_count`, `sell_count`, `assess_count`, `collect_count`, `is_del`, `column_id`, `popularity`, `merchant_id`, `business_id`, `business_name` where `is_del` = 0 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `type` = #{type} and `title` like concat('%', #{title},'%') and `is_landscape` = #{isLandscape} and `is_payment` = #{isPayment} and `is_preview` = #{isPreview} and `status` = #{status} and `create_date` >= #{startdate} and `create_date` <= #{enddate} and `business_id` = #{businessId} and `merchant_id` = #{merchantId} and id in #{idItem} order by ${sortColumns} update tt_coupon set is_del = 1, update_date=now() where id = #{id} update tt_coupon SET see_count = see_count+1, update_date=now() where id = #{id} update tt_coupon SET sell_count = sell_count+1, false_sell_count = false_sell_count+1, update_date=now() where id = #{id} update tt_coupon SET sell_count = sell_count-1, false_sell_count = false_sell_count-1, update_date=now() where id = #{id} update tt_coupon SET assess_count = assess_count+1, update_date=now() where id = #{id} update tt_coupon SET collect_count = collect_count+1, update_date=now() where id = #{id} update tt_coupon SET collect_count = collect_count-1, update_date=now() where id = #{id} update tt_coupon SET popularity = popularity+#{popularity}, update_date=now() where id = #{id}