public static DashboardUserEditVO buildDashboardUserEditVO(final DashboardUserVO dashboardUserVO, final List<RoleVO> roles, final List<RoleVO> allRoles) {
        return Optional.ofNullable(dashboardUserVO).map(item -> {
            DashboardUserEditVO vo = DashboardUserTransfer.INSTANCE.transfer2EditVO(dashboardUserVO);
            vo.setRoles(roles);
            vo.setAllRoles(allRoles);
            return vo;
        }).orElse(null);
    }
get edit user info.

@param dashboardUserVO {@linkplain DashboardUserVO}
@param roles {@linkplain List}
@param allRoles {@linkplain List}
@return {@linkplain DashboardUserEditVO}
shenyu-admin/src/main/java/org/apache/shenyu/admin/model/vo/DashboardUserEditVO.java