|
|
|
@ -18,6 +18,7 @@ import ru.ulstu.user.service.UserService;
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import static org.springframework.util.ObjectUtils.isEmpty;
|
|
|
|
@ -164,4 +165,12 @@ public class ConferenceService {
|
|
|
|
|
conferenceFilterDto.getYear()), ConferenceDto::new);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public List<ConferenceDto> findAllActiveDto() {
|
|
|
|
|
return convert(findAllActive(), ConferenceDto::new);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public List<Conference> findAllActive() {
|
|
|
|
|
return conferenceRepository.findAllActive(new Date());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|