@Override
    public List<Integer> save(List<Order> beans, GenericSaveQuery saveGeneric, Connection conn) throws DaoQueryException {
        try {
            return saveGeneric.sendQuery(SAVE_QUERY, conn, Params.fill(beans, (Order bean) -> {
                Object[] obj = new Object[8];
                obj[0] = bean.getUser().getIdUser();
                obj[1] = bean.getTour().getIdTour();
                obj[2] = bean.getSeats();
                obj[3] = bean.getCurrentPrice();
                obj[4] = bean.getCurrentDiscount();
                obj[5] = bean.getCurrentUserDiscount();
                obj[6] = bean.getFinalPrice();
                obj[7] = bean.getOrderDate();
                return obj;
            }));
        } catch (DaoException ex) {
            throw new DaoQueryException(ERR_ORDER_SAVE, ex);
        }
    }