Commit 7015eb81 authored by 刘基明's avatar 刘基明

点赞评论消息通知 fix

parent 51b6c63c
......@@ -130,7 +130,7 @@ public class NotificationManager {
themeNotifyQo.setContent(commentEntity.getContent());
ThemeEntity themeEntity = themeService.queryByThemeId(commentEntity.getThemeId());
if (themeEntity != null) {
themeNotifyQo.setFormerUserName(currentUser.getNickName());
themeNotifyQo.setFormerUserName(getUserInfo(themeEntity.getAuthorId()).getNickName());
themeNotifyQo.setFormerTopicId(themeEntity.getTopicId());
if (ThemeTypeEnum.DISCUSSION.getCode().equals(themeEntity.getThemeType()) || ThemeTypeEnum.FORWARD.getCode().equals(themeEntity.getThemeType())) {
List<ThemeContentQo> themeContentQos = JsonUtil.toBean(themeEntity.getContent(), new TypeReference<List<ThemeContentQo>>() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment