对评论内容也做模糊查询

This commit is contained in:
wangliwen 2022-05-06 11:15:23 +08:00
parent 5071dfed4a
commit 41e0508179
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ public class TDemandCommentServiceImpl extends CrudServiceImpl<TDemandCommentDao
{
put(Constant.SEARCHKEY, params.get(Constant.SEARCHKEY).toString());
}
}).stream().map(index_ -> index_.getId()).collect(Collectors.toList()).toArray());
}).stream().map(index_ -> index_.getId()).collect(Collectors.toList()).toArray()) // 需求主题
.or().like("comment", params.get(Constant.SEARCHKEY).toString()); // 评论内容
}
break;
}