소스 검색

员工管理分页查询调整

master
huminghao 4 주 전
부모
커밋
c4d8aee767
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      zhywpt-app-userw/src/main/java/cn/com/taiji/userw/manager/system/StaffManagerImpl.java

+ 1
- 1
zhywpt-app-userw/src/main/java/cn/com/taiji/userw/manager/system/StaffManagerImpl.java 파일 보기

@@ -494,7 +494,7 @@ public class StaffManagerImpl extends AbstractUserwManager implements StaffManag
staffVo.setIdNum(accountInfo.getIdNum());
//2、找到员工所分配的所有系统角色
List<UserRoleVo> userRoleVoList = null;
if (accountInfo != null && accountInfo.getOpenId() != null && !accountInfo.getOpenId().trim().isEmpty()) {
if (accountInfo != null && accountInfo.getOpenId() != null && !StringUtils.isEmpty(accountInfo.getOpenId())) {
List<AccountUserRole> list = accountUserRoleRepo.getListByOpenId(accountInfo.getOpenId());
//3、找到所有的角色
List<UserRole> userRoleList = userRoleRepo.findAllById(list.stream().map(AccountUserRole::getRoleId).collect(Collectors.toList()));

Loading…
취소
저장