fixed bugs
This commit is contained in:
@@ -9,24 +9,25 @@ import org.springframework.stereotype.Service;
|
||||
import de.jottyfan.bico.modules.next.model.NextBean;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @author jotty
|
||||
*
|
||||
*
|
||||
*/
|
||||
@Service
|
||||
public class NextService {
|
||||
|
||||
@Autowired
|
||||
private NextRepository repository;
|
||||
|
||||
|
||||
/**
|
||||
* get the next dates
|
||||
*
|
||||
*
|
||||
* @param date the date
|
||||
* @param classname the classname to filter for
|
||||
* @return the list of next dates
|
||||
*/
|
||||
public List<NextBean> getNext(LocalDate date) {
|
||||
return repository.getNext(date);
|
||||
public List<NextBean> getNext(LocalDate date, String classname) {
|
||||
return repository.getNext(date, classname);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user