forked from RyanGoodwill/backend
还剩测试没做
This commit is contained in:
parent
05f3af0c77
commit
ba886c7191
@ -69,7 +69,6 @@ public class CourseService {
|
|||||||
pageable
|
pageable
|
||||||
).getContent();
|
).getContent();
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getCourseCountByCriteria(String title, String author, String description, String sortOrder) {
|
public long getCourseCountByCriteria(String title, String author, String description, String sortOrder) {
|
||||||
return courseRepository.count(CourseSpecification.searchCourses(title, author, description, sortOrder));
|
return courseRepository.count(CourseSpecification.searchCourses(title, author, description, sortOrder));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user