消息列表rootCommentId 优化
This commit is contained in:
parent
94e293a253
commit
9618b01c9b
@ -72,7 +72,7 @@ public class DynamicMessageQryExe {
|
||||
// 批量查询评论ID对应的 rootCommentId
|
||||
DynamicComment comment = commentMap.get(message.getDynamicCommentId());
|
||||
if (comment != null) {
|
||||
messageCO.setRootCommentId(comment.getRootCommentId());
|
||||
messageCO.setRootCommentId(comment.getRootCommentId() == null ? comment.getId() : comment.getRootCommentId());
|
||||
}
|
||||
|
||||
// 处理messageContent 和 giftCount
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user