|
|
@ -67,7 +67,12 @@ public class SysUserController extends BaseController {
|
|
|
|
AuthAdminResponse authAdminResponse = new AuthAdminResponse();
|
|
|
|
AuthAdminResponse authAdminResponse = new AuthAdminResponse();
|
|
|
|
BeanUtils.copyProperties(item, authAdminResponse);
|
|
|
|
BeanUtils.copyProperties(item, authAdminResponse);
|
|
|
|
List<Long> roles = sysRoleService.selectRoleListByUserId(authAdminResponse.getId());
|
|
|
|
List<Long> roles = sysRoleService.selectRoleListByUserId(authAdminResponse.getId());
|
|
|
|
List<DeptUserResponse> deptUserResponses = deptUserService.selectByUserId(authAdminResponse.getId());
|
|
|
|
List<DeptUserResponse> deptUserResponses=null;
|
|
|
|
|
|
|
|
if("key".equals(filterAuthUserRequest.getKey())){
|
|
|
|
|
|
|
|
deptUserResponses = deptUserService.selectByUserIdKey(authAdminResponse.getId());
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
deptUserResponses = deptUserService.selectByUserId(authAdminResponse.getId());
|
|
|
|
|
|
|
|
}
|
|
|
|
if (CollUtil.isNotEmpty(deptUserResponses)) {
|
|
|
|
if (CollUtil.isNotEmpty(deptUserResponses)) {
|
|
|
|
List<Long> depts = new ArrayList<>();
|
|
|
|
List<Long> depts = new ArrayList<>();
|
|
|
|
String deptName = "";
|
|
|
|
String deptName = "";
|
|
|
|