mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-24 19:59:31 +08:00
学员代码优化
This commit is contained in:
@@ -23,4 +23,8 @@ public interface UserService extends IService<User> {
|
||||
void removeRelateDepartmentsByUserId(Integer userId);
|
||||
|
||||
User findOrFail(Integer id) throws NotFoundException;
|
||||
|
||||
User createWithDepIds(String email, String name, String avatar, String password, String idCard, Integer[] depIds);
|
||||
|
||||
User updateWithDepIds(User user, String email, String nickname, String name, String avatar, String password, String idCard, Integer[] depIds);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user