评论接口id字段处理
This commit is contained in:
parent
cbab245b54
commit
b413153242
@ -96,7 +96,7 @@ public class DynamicCommentCmdExe {
|
|||||||
commentListCO.setToUserId(dynamicComment.getToUserId());
|
commentListCO.setToUserId(dynamicComment.getToUserId());
|
||||||
commentListCO.setContent(dynamicComment.getContent());
|
commentListCO.setContent(dynamicComment.getContent());
|
||||||
commentListCO.setCreateTime(dynamicComment.getCreateTime());
|
commentListCO.setCreateTime(dynamicComment.getCreateTime());
|
||||||
commentListCO.setRootCommentId(dynamicComment.getRootCommentId());
|
commentListCO.setRootCommentId(Objects.isNull(dynamicComment.getRootCommentId()) ? dynamicComment.getId() : dynamicComment.getRootCommentId());
|
||||||
|
|
||||||
UserProfile userProfile = userProfileMap.get(dynamicComment.getCreateUser());
|
UserProfile userProfile = userProfileMap.get(dynamicComment.getCreateUser());
|
||||||
if (userProfile != null) {
|
if (userProfile != null) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user