package io.spring.application.profile; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Component; @Component @Mapper public interface UserRelationshipQueryService { boolean isUserFollowing(@Param("userId") String userId, @Param("anotherUserId") String anotherUserId); }