Commit 8bf17683 by 阳浪

我的留言

parent 6390bffd
...@@ -163,7 +163,7 @@ public class TpCommentController { ...@@ -163,7 +163,7 @@ public class TpCommentController {
AccountVO accountVO = accountClient.findById(listCommentVo.getAccountId()); AccountVO accountVO = accountClient.findById(listCommentVo.getAccountId());
fullName = accountVO.getFullName(); fullName = accountVO.getFullName();
name = accountVO.getName(); name = accountVO.getName();
listCommentVo.setCommentator(name); listCommentVo.setCommentator(accountVO.getRemarkFirst());
listCommentVo.setReplyName("--"); listCommentVo.setReplyName("--");
listCommentVo.setCommentatorName(null == fullName || "" == fullName ? name : fullName); listCommentVo.setCommentatorName(null == fullName || "" == fullName ? name : fullName);
Boolean hasThumbsUp = tpCommentThumbsUpService.judgeHasThumbsUp(listCommentVo.getId()); Boolean hasThumbsUp = tpCommentThumbsUpService.judgeHasThumbsUp(listCommentVo.getId());
...@@ -253,7 +253,7 @@ public class TpCommentController { ...@@ -253,7 +253,7 @@ public class TpCommentController {
AccountVO accountVO = accountClient.findById(listCommentVo.getAccountId()); AccountVO accountVO = accountClient.findById(listCommentVo.getAccountId());
fullName = accountVO.getFullName(); fullName = accountVO.getFullName();
name = accountVO.getName(); name = accountVO.getName();
listCommentVo.setCommentator(name); listCommentVo.setCommentator(accountVO.getRemarkFirst());
listCommentVo.setReplyName("--"); listCommentVo.setReplyName("--");
listCommentVo.setCommentatorName(null == fullName || "" == fullName ? name : fullName); listCommentVo.setCommentatorName(null == fullName || "" == fullName ? name : fullName);
Boolean hasThumbsUp = tpCommentThumbsUpService.judgeHasThumbsUp(listCommentVo.getId()); Boolean hasThumbsUp = tpCommentThumbsUpService.judgeHasThumbsUp(listCommentVo.getId());
......
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