@Override
    //Тип = 2 - rise
    public boolean riseLotPrice(Lot lot, User user, int newPrice) {
        LotHistoryObject lotObject = getLotHistoryObjectUsingCondition(" Ticket = '" + lot.getId() + "' ORDER BY CurrentPrice DESC, type desc LIMIT 1");

        if (lotObject == null) return false;
        if (lotObject.Type == 3) return false;

        if (lotObject.CurrentPrice > newPrice) return  false;

        lotObject.Type = 2; //rise
        lotObject.CurrentPrice = newPrice;

        insertLotHistoryObject(lotObject, true);

        return true;
    }