package com.timeline.user.dao; import com.timeline.user.dto.FriendUserDto; import com.timeline.user.entity.Friend; import com.timeline.user.entity.Friendship; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @Mapper public interface FriendMapper { void insert(Friendship friendship); Friendship selectByUsers(@Param("userId") String userId, @Param("friendId") String friendId); void updateStatus(@Param("userId") String userId, @Param("friendId") String friendId, @Param("status") String status); List selectFriends(@Param("userId") String userId); List selectPending(@Param("toUserId") String toUserId); // List selectFriendUsers(FriendUserDto userDto); }