| | |
| | | }else { |
| | | smRoleVOList = smRoleQueryService.listRoleByUserOid(userInfo.id,null); |
| | | } |
| | | |
| | | smUserVO.setPkPerson( |
| | | Func.isEmpty(smRoleVOList) ? |
| | | null:smRoleVOList.stream().map(SmRoleVO::getOid).collect(Collectors.joining(",")) |
| | |
| | | smRoleVOMap = smRoleQueryService.batchListRoleByUserOids(idList,null); |
| | | smPwdStrategyVOMap = smPwdStrategyQueryService.batchSmPwdStrategyByUserOids(idList); |
| | | dataGrid.setData(userInfoArr2VO(userInfos)); |
| | | //TODO: 这个统计总数有问题,带过去的参数不能像上面那个fetchUserInfoByCondition查询一样统计增却的总数 |
| | | //用完了清空 |
| | | orgDepartmentVOMap = null; |
| | | smRoleVOMap = null; |
| | | smPwdStrategyVOMap = null; |
| | | //TODO: 这个统计总数有问题,带过去的参数不能像上面那个fetchUserInfoByCondition查询一样统计的却的总数 |
| | | dataGrid.setTotal( |
| | | platformClientUtil.getFrameworkService().getUserTotalByCondition( |
| | | conditionMap.get("name"), |