Commit 9a7e35d5 authored by 刘基明's avatar 刘基明

缓存修复

parent 596d4ee0
...@@ -82,7 +82,8 @@ public class FollowRelService { ...@@ -82,7 +82,8 @@ public class FollowRelService {
public boolean checkFollow(String idolId,String followerId){ public boolean checkFollow(String idolId,String followerId){
return followRelMapper.selectCount(new LambdaQueryWrapper<FollowRelEntity>() return followRelMapper.selectCount(new LambdaQueryWrapper<FollowRelEntity>()
.eq(FollowRelEntity::getFollowUserId,idolId) .eq(FollowRelEntity::getFollowUserId,idolId)
.eq(FollowRelEntity::getFollowerId,followerId)) .eq(FollowRelEntity::getFollowerId,followerId)
.eq(FollowRelEntity::getDeleteTag,DeleteTagEnum.NOT_DELETED.getCode()))
>0; >0;
} }
......
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