|
@@ -63,7 +63,7 @@ public class CourseStatisticServiceImpl implements CourseStatisticService {
|
|
|
if (query.getPaperStatus() != null) {
|
|
|
searches.eq("paperStatus", query.getPaperStatus());
|
|
|
}
|
|
|
- if (StringUtils.isBlank(query.getPaperName())) {
|
|
|
+ if (StringUtils.isNotBlank(query.getPaperName())) {
|
|
|
searches.like("coursePaper.paperName", query.getPaperName());
|
|
|
}
|
|
|
Specification<CourseStatistic> spec = SpecUtils.buildSearchers(CourseStatistic.class, searches.build());
|