### Question:
BaseUserInfoService extends BaseService<BaseUserInfoMapper, BaseUserInfo> { public Optional<UserInfoVO> getUserInfoVOByUserId(String userId){ return Optional.ofNullable(userInfoMapper.getUserInfoVOByUserId(userId)); }  @Override void insertSelective(BaseUserInfo entity); Optional<UserInfoVO> getUserInfoVOByUserId(String userId);  }### Answer:
@Test public void test() { String userId = "600000"; Optional<UserInfoVO> optional = userInfoService.getUserInfoVOByUserId(userId ); if (optional.isPresent()) { UserInfoVO userInfoVO = optional.get(); log.info(userInfoVO.toString()); List<RouterInfoVO> routerIds = routerInfoService.getRouterInfoVOByRouterIds(userInfoVO.getRouterIds()); routerIds.forEach(r-> log.debug(r.toString())); } }