mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
fixed: 学员部门返回空bug
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user