|
@@ -172,7 +172,7 @@ public class AgentServiceImpl extends ServiceImpl<AgentMapper, Agent> implements
|
|
|
Map<Long, GameInfoVO> gameMap = gameService.infoByIds(gameIds).stream().collect(Collectors.toMap(GameInfoVO::getId, Function.identity()));
|
|
|
Map<Long, String> userMap = sysUserRpc.getUserNameByIds(new ArrayList<>(userIds)).getData();
|
|
|
return agentList.stream().map(agent -> {
|
|
|
- AgentVO vo = BeanUtil.copy(agent, AgentVO.class);
|
|
|
+ AgentVO vo = toVOSimple(agent);
|
|
|
vo.setGameInfo(gameMap.get(agent.getGameId()));
|
|
|
if (AccountTypeEnum.TENCENT_H5.getValue().equals(agent.getAccountType())) {
|
|
|
vo.setUserActionSet(userActionSetMap.get(agent.getAccountId() + "_" + agent.getUserActionSetId()));
|