|
|
|
@ -78,9 +78,9 @@ public class SysUsernumController extends BaseController {
|
|
|
|
|
List<SysUser> sysuser = new ArrayList<>();
|
|
|
|
|
List<SysUser> list = userService.selectUserGroupBydept(user);
|
|
|
|
|
List<SysDept> sysDepts = deptService.selectDeptList(dept);
|
|
|
|
|
for (SysDept Dept : sysDepts) {
|
|
|
|
|
for (SysDept sysDept : sysDepts) {
|
|
|
|
|
for (SysUser user1 : list) {
|
|
|
|
|
if (Dept.getDeptName().equals(user1.getDept().getDeptName())) {
|
|
|
|
|
if (sysDept.getDeptName().equals(user1.getDept().getDeptName())) {
|
|
|
|
|
sysuser.add(user1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|