考试标签筛选问题
This commit is contained in:
parent
e516ad0be4
commit
806718bb7e
@ -95,8 +95,10 @@ public class Training2PublishService {
|
||||
or.andStateEqualTo(BusinessConsts.STATUS_USE_INT);
|
||||
if(!CollectionUtils.isEmpty(lables)){
|
||||
for (String tag : lables) {
|
||||
criteria.andLabelJsonLike(String.format("%%%s%%", tag));
|
||||
or.andLabelJsonLike(String.format("%%%s%%", tag));
|
||||
if(StringUtils.hasText(tag)){
|
||||
criteria.andLabelJsonLike(String.format("%%%s%%", tag));
|
||||
or.andLabelJsonLike(String.format("%%%s%%", tag));
|
||||
}
|
||||
}
|
||||
}
|
||||
// PublishedTraining2Example.Criteria or2 = example.or();
|
||||
|
Loading…
Reference in New Issue
Block a user