ReceptionDTO rdto = new ReceptionDTO();
rdto.setClient(sheduleReception.getClient());
rdto.setCollaborator(sheduleReception.getCollaborator());
rdto.setLpu(sheduleReception.getCollaborator().getLpu());
rdto.setType(sheduleReception.getWorkType());
Day day = new Day(sheduleReception.getBegin());
ReceptionHelper rhBefore = new ReceptionHelper(getDao(), rdto, day.getDate(), day.getEndDate());
WeekDay weekDay = rhBefore.getModel().get(0);
List<Ticket> ticketsBefore = weekDay.getTickets();
getDao().delete(sheduleReception);
//Ебём мозг 2, нарезаем тикеты после удаления
ReceptionHelper rhAfter = new ReceptionHelper(getDao(), rdto, day.getDate(), day.getEndDate());
weekDay = rhAfter.getModel().get(0);
List<Ticket> ticketsAfter = weekDay.getTickets();
//Сравниваем списки - получаем свободные тикеты
ticketsAfter.removeAll(ticketsBefore);