|
@@ -301,6 +301,9 @@ public class PaperServiceImpl implements PaperService{
|
|
|
if(StringUtils.isNotBlank(paperSearchInfo.getCourseNo())){
|
|
|
query.addCriteria(Criteria.where("course.code").is(paperSearchInfo.getCourseNo()));
|
|
|
}
|
|
|
+ if(StringUtils.isNoneBlank(paperSearchInfo.getName())){
|
|
|
+ query.addCriteria(Criteria.where("name").regex(".*?\\.*" +paperSearchInfo.getName() + ".*"));
|
|
|
+ }
|
|
|
if(StringUtils.isNotBlank(paperSearchInfo.getLevel())){
|
|
|
query.addCriteria(Criteria.where("course.level").is(paperSearchInfo.getLevel()));
|
|
|
}
|