|
@@ -93,7 +93,8 @@ public class CommunityTagController extends BaseController {
|
|
|
|
|
|
CommunityTagBlock communityTagBlock = communityTagBlockMapper.selectOne(new QueryWrapper<CommunityTagBlock>()
|
|
|
.eq("user_id", userId)
|
|
|
- .eq("tag_id", communityTag.getId()));
|
|
|
+ .eq("tag_id", communityTag.getId())
|
|
|
+ .eq("is_block", 1));
|
|
|
if (communityTagBlock != null) {
|
|
|
communityTag.setIsBlock(true);
|
|
|
}
|