mirror of
https://github.com/suyiiyii/SIMS.git
synced 2026-06-23 03:36:52 +08:00
1
This commit is contained in:
@@ -136,4 +136,8 @@ public class UserService {
|
|||||||
public List<Role> selectRolesById(Integer studentId) {
|
public List<Role> selectRolesById(Integer studentId) {
|
||||||
return roleMapper.selectRolesById(studentId);
|
return roleMapper.selectRolesById(studentId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Integer getStudentIdByUserId(Integer userId) {
|
||||||
|
return userMapper.getStudentIdByUserId(userId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user