| | |
| | | if(!CollectionUtils.isEmpty(roleVOS)){ |
| | | roleVOList.addAll(roleVOS); |
| | | String sql = "select pluseruid,plroleuid from pluserrole where pluseruid in (" + WebUtil.toInSql(userOids.toArray(new String[0])) + ")"; |
| | | List<ClientBusinessObject> cbos = boService.queryBySql(sql, null); |
| | | List<com.vci.client.bof.ClientBusinessObject> cbos = boService.queryBySql(sql, null); |
| | | if(!CollectionUtils.isEmpty(cbos)){ |
| | | cbos.stream().forEach(cbo->{ |
| | | String userOid = cbo.getAttributeValue("pluseruid"); |
| | |
| | | if(!CollectionUtils.isEmpty(roleVOS)){ |
| | | roleVOList.addAll(roleVOS); |
| | | String sql = "select plroleoid,plfuncoid from plroleright where plfuncoid in (" + WebUtil.toInSql(userOids.toArray(new String[0])) + ")"; |
| | | List<ClientBusinessObject> cbos = boService.queryBySql(sql, null); |
| | | List<com.vci.client.bof.ClientBusinessObject> cbos = boService.queryBySql(sql, null); |
| | | if(!CollectionUtils.isEmpty(cbos)){ |
| | | cbos.stream().forEach(cbo->{ |
| | | String funcOid = cbo.getAttributeValue("plfuncoid"); |