|
|
@@ -485,9 +485,9 @@ public class KxsUserServiceImpl extends ServiceImpl<KxsUserMapper, KxsUser> impl
|
|
|
Optional.ofNullable(meUser).orElseThrow(() -> new GlobalCustomerException(ErrorTypeEnum.USER_NOT_FOUND.getDescription()));
|
|
|
|
|
|
builder.meInfo(SysParentUserInfoVO.builder().userCode(meUser.getUserCode()).username(meUser.getUsername()).build());
|
|
|
- List<String> pidPath = Arrays.asList(meUser.getPidPath().split(StrUtil.COMMA));
|
|
|
//查询上级信息是需要加入自己
|
|
|
- pidPath.add(String.valueOf(meUser.getId()));
|
|
|
+ meUser.setPidPath(meUser.getPidPath() + meUser.getId());
|
|
|
+ List<String> pidPath = Arrays.asList(meUser.getPidPath().split(StrUtil.COMMA));
|
|
|
//倒序
|
|
|
Collections.reverse(pidPath);
|
|
|
|