fixed up service methods
This commit is contained in:
parent
ac45e321f4
commit
5ace37e947
@ -65,7 +65,7 @@ public class ProjectServiceImpl extends AbstractQueryService<Project, Long> impl
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Long count(String filterString, Date fromDate, Date toDate) {
|
public Long count(String filterString, Date fromDate, Date toDate) {
|
||||||
return projectRepo.count((titleContains(filterString).or(headSupervisorFirstNameContains(filterString)).or(headSupervisorLastNameContains(filterString))).and(projectCreatedAfter(fromDate)).and(projectCreatedBefore(toDate)));
|
return projectRepo.count((titleContains(filterString).or(headSupervisorFirstNameContains(filterString).or(headSupervisorLastNameContains(filterString)))).and(projectCreatedAfter(fromDate)).and(projectCreatedBefore(toDate)));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user