后端新增修改用户信息相关方法
This commit is contained in:
parent
82a234f546
commit
78b6b31392
@ -64,6 +64,14 @@ public class ProjectBean implements Serializable {
|
||||
}
|
||||
}
|
||||
|
||||
public void updateUserInfo() {
|
||||
try {
|
||||
databaseService.updateUserInfo(username, userInfo);
|
||||
} catch (SQLException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public void loadProjects() {
|
||||
projects = databaseService.getProjectsByUser(Objects.requireNonNullElse(username, "admin"));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user