if (Object.prototype.hasOwnProperty.call(filters, "orderIsPaid")) {
      sql += " and o.orderIsPaid = " + filters.orderIsPaid.toString();
    }