mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-22 20:02:42 +08:00
fixed: 学员部门返回空bug
This commit is contained in:
parent
83756fb4e1
commit
b7249d154c
@ -69,7 +69,7 @@ public class UserController {
|
||||
List<Department> departments = new ArrayList<>();
|
||||
List<Integer> depIds = userService.getDepIdsByUserId(user.getId());
|
||||
if (depIds != null && depIds.size() > 0) {
|
||||
departmentService.listByIds(depIds);
|
||||
departments = departmentService.listByIds(depIds);
|
||||
}
|
||||
|
||||
user.setIdCard(PrivacyUtil.hideIDCard(user.getIdCard()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user