`id`, `tenant_id`, `parent_tenant_id`, `user_id`, `coupon_id`, `create_date`, `update_date` where `is_del` = 0 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `user_id` = #{userId} and `coupon_id` = #{couponId} and `create_date` >= #{startdate} and `create_date` <= #{enddate} and id in #{idItem} order by ${sortColumns} update tt_user_collect set is_del = 1,update_date=now() where id = #{id}