mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 04:16:51 +08:00
校验
This commit is contained in:
@@ -93,9 +93,11 @@ public class CommentsApi extends ApiBaseController{
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
List<String> ids = list.stream().map(Comments::getId).collect(Collectors.toList());
|
List<String> ids = list.stream().map(Comments::getId).collect(Collectors.toList());
|
||||||
|
if(!ids.isEmpty()) {
|
||||||
List<Comments> replyList = service.findReplysByCommentIds(20, objType, ids);
|
List<Comments> replyList = service.findReplysByCommentIds(20, objType, ids);
|
||||||
|
|
||||||
list.addAll(replyList);
|
list.addAll(replyList);
|
||||||
|
}
|
||||||
return success(list);
|
return success(list);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user