SpringBoot
学生朋友列表监控,为其创建了2个模型类,如Student
和FriendList
Student->blockedList table(one to many relationship)
FriendList->student table(many to one relationship)
学生表包含
朋友表包含
我需要通过传递(studentid),
来检索学生朋友的详细信息{
studentid:
friendlist[
{
stufid:
name:
dob:
},
{
stufid:
name:
dob:
}
]
}