mirror of
https://github.com/suyiiyii/SIMS.git
synced 2025-06-02 00:16:11 +08:00
1
This commit is contained in:
parent
32e3a3d96f
commit
a0e6cb87a3
@ -136,4 +136,8 @@ public class UserService {
|
||||
public List<Role> selectRolesById(Integer studentId) {
|
||||
return roleMapper.selectRolesById(studentId);
|
||||
}
|
||||
|
||||
public Integer getStudentIdByUserId(Integer userId) {
|
||||
return userMapper.getStudentIdByUserId(userId);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user