日志评论逻辑调整
This commit is contained in:
parent
51784630b1
commit
6c6847f788
@ -153,6 +153,7 @@ public class WorkLogCommentServiceImpl implements WorkLogCommentService {
|
|||||||
|
|
||||||
Integer receiveNum = workLogCommentMapper.selectCountReceiveNum(userId);
|
Integer receiveNum = workLogCommentMapper.selectCountReceiveNum(userId);
|
||||||
vo.setCommentNum(commentNum);
|
vo.setCommentNum(commentNum);
|
||||||
|
vo.setReceiveNum(receiveNum);
|
||||||
vo.setReplyNum(replyNum);
|
vo.setReplyNum(replyNum);
|
||||||
vo.setAllNum(commentNum + replyNum + receiveNum);
|
vo.setAllNum(commentNum + replyNum + receiveNum);
|
||||||
return vo;
|
return vo;
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
</if>
|
</if>
|
||||||
<if test="dto.isCommentOnMyBlog != null and dto.isCommentOnMyBlog == 1">
|
<if test="dto.isCommentOnMyBlog != null and dto.isCommentOnMyBlog == 1">
|
||||||
<if test="dto.userId != null">
|
<if test="dto.userId != null">
|
||||||
AND f.start_user_id = #{userId}
|
AND f.start_user_id = #{dto.userId}
|
||||||
</if>
|
</if>
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.isCommentOnMyBlog == null or dto.isCommentOnMyBlog == 0">
|
<if test="dto.isCommentOnMyBlog == null or dto.isCommentOnMyBlog == 0">
|
||||||
|
Loading…
Reference in New Issue
Block a user