提交 bb6336bb authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 807f214d
...@@ -94,7 +94,7 @@ public interface FgTalkMapper extends BaseMapper<Talk> { ...@@ -94,7 +94,7 @@ public interface FgTalkMapper extends BaseMapper<Talk> {
+ " SELECT COUNT(t.id) FROM talk t " + " SELECT COUNT(t.id) FROM talk t "
+ " LEFT JOIN attention a ON a.attentionId = t.authorId " + " LEFT JOIN attention a ON a.attentionId = t.authorId "
+ " LEFT JOIN record r ON t.id = r.talkid " + " LEFT JOIN record r ON t.id = r.talkid "
+ " WHERE t.status=1 AND t.talkType=0 AND t.authorId = #{id} AND r.id IS NULL" + " WHERE t.status=1 AND t.talkType=0 AND a.memberId = #{id} AND r.id IS NULL"
+ "</script>") + "</script>")
Integer selectNotificationCount(@Param("id")Integer id); Integer selectNotificationCount(@Param("id")Integer id);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论