|
@@ -143,7 +143,8 @@ public class AgentServiceImpl extends ServiceImpl<AgentMapper, Agent> implements
|
|
|
Set<Long> backPolicyIds = new HashSet<>();
|
|
|
agentList.forEach(agent -> {
|
|
|
gameIds.add(agent.getGameId());
|
|
|
- if (AccountTypeEnum.TENCENT.getValue().equals(agent.getAccountType())) {
|
|
|
+ if (AccountTypeEnum.TENCENT_H5.getValue().equals(agent.getAccountType())
|
|
|
+ || AccountTypeEnum.TENCENT_MINI_GAME.getValue().equals(agent.getAccountType())) {
|
|
|
txAccountIds.add(agent.getAccountId());
|
|
|
}
|
|
|
userIds.add(agent.getCreateBy());
|
|
@@ -170,7 +171,7 @@ public class AgentServiceImpl extends ServiceImpl<AgentMapper, Agent> implements
|
|
|
return agentList.stream().map(agent -> {
|
|
|
AgentVO vo = BeanUtil.copy(agent, AgentVO.class);
|
|
|
vo.setGameInfo(gameMap.get(agent.getGameId()));
|
|
|
- if (AccountTypeEnum.TENCENT.getValue().equals(agent.getAccountType())) {
|
|
|
+ if (AccountTypeEnum.TENCENT_H5.getValue().equals(agent.getAccountType())) {
|
|
|
vo.setUserActionSet(userActionSetMap.get(agent.getAccountId() + "_" + agent.getUserActionSetId()));
|
|
|
}
|
|
|
vo.setCreateByName(userMap.get(agent.getCreateBy()));
|