修复帖子删除后收藏数据展示异常问题
This commit is contained in:
parent
21533a3baa
commit
ac51f828d7
@ -43,7 +43,7 @@ public interface TopicMapper extends BaseMapper<Topic> {
|
||||
int userInteractCount(int tid, int uid, String type);
|
||||
|
||||
@Select("""
|
||||
select * from db_topic_interact_collect left join db_topic on tid = db_topic.id
|
||||
select * from db_topic_interact_collect right join db_topic on tid = db_topic.id
|
||||
where db_topic_interact_collect.uid = #{uid}
|
||||
""")
|
||||
List<Topic> collectTopics(int uid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user