From 41e0508179bf1c2c1a728f5764cb3bb2ffc6bf28 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Fri, 6 May 2022 11:15:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E8=AF=84=E8=AE=BA=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E4=B9=9F=E5=81=9A=E6=A8=A1=E7=B3=8A=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demandComment/service/impl/TDemandCommentServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/renren-admin/src/main/java/io/renren/modules/demandComment/service/impl/TDemandCommentServiceImpl.java b/renren-admin/src/main/java/io/renren/modules/demandComment/service/impl/TDemandCommentServiceImpl.java index f142d0bc..17deab03 100644 --- a/renren-admin/src/main/java/io/renren/modules/demandComment/service/impl/TDemandCommentServiceImpl.java +++ b/renren-admin/src/main/java/io/renren/modules/demandComment/service/impl/TDemandCommentServiceImpl.java @@ -44,7 +44,8 @@ public class TDemandCommentServiceImpl extends CrudServiceImpl index_.getId()).collect(Collectors.toList()).toArray()); + }).stream().map(index_ -> index_.getId()).collect(Collectors.toList()).toArray()) // 需求主题 + .or().like("comment", params.get(Constant.SEARCHKEY).toString()); // 评论内容 } break; }