Merge branch 'dev' into frx
This commit is contained in:
commit
bc39b32808
@ -153,6 +153,7 @@ public class WorkLogCommentServiceImpl implements WorkLogCommentService {
|
||||
|
||||
Integer receiveNum = workLogCommentMapper.selectCountReceiveNum(userId);
|
||||
vo.setCommentNum(commentNum);
|
||||
vo.setReceiveNum(receiveNum);
|
||||
vo.setReplyNum(replyNum);
|
||||
vo.setAllNum(commentNum + replyNum + receiveNum);
|
||||
return vo;
|
||||
|
@ -48,7 +48,7 @@
|
||||
</if>
|
||||
<if test="dto.isCommentOnMyBlog != null and dto.isCommentOnMyBlog == 1">
|
||||
<if test="dto.userId != null">
|
||||
AND f.start_user_id = #{userId}
|
||||
AND f.start_user_id = #{dto.userId}
|
||||
</if>
|
||||
</if>
|
||||
<if test="dto.isCommentOnMyBlog == null or dto.isCommentOnMyBlog == 0">
|
||||
|
Loading…
Reference in New Issue
Block a user