后台部门列表api返回学员总数

This commit is contained in:
none 2023-04-19 16:17:06 +08:00
parent 34f033d882
commit b0aaf1a15e

View File

@ -69,6 +69,7 @@ public class DepartmentController {
HashMap<String, Object> data = new HashMap<>();
data.put("departments", departmentService.groupByParent());
data.put("dep_user_count", departmentService.getDepartmentsUserCount());
data.put("user_total", userService.total());
return JsonResponse.data(data);
}