|
@@ -16,6 +16,7 @@ import com.zanxiang.manage.domain.vo.GameUserRoleVO;
|
|
import com.zanxiang.manage.domain.vo.GameUserVO;
|
|
import com.zanxiang.manage.domain.vo.GameUserVO;
|
|
import com.zanxiang.manage.service.*;
|
|
import com.zanxiang.manage.service.*;
|
|
import com.zanxiang.mybatis.entity.GameUserRole;
|
|
import com.zanxiang.mybatis.entity.GameUserRole;
|
|
|
|
+import com.zanxiang.mybatis.entity.PromoChannel;
|
|
import com.zanxiang.mybatis.mapper.GameUserRoleMapper;
|
|
import com.zanxiang.mybatis.mapper.GameUserRoleMapper;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.apache.logging.log4j.util.Strings;
|
|
import org.apache.logging.log4j.util.Strings;
|
|
@@ -99,8 +100,8 @@ public class GameUserRoleServiceImpl extends ServiceImpl<GameUserRoleMapper, Gam
|
|
//玩家游戏信息
|
|
//玩家游戏信息
|
|
GameUserVO gameUserVO = gameUserService.getById(role.getGameUserId());
|
|
GameUserVO gameUserVO = gameUserService.getById(role.getGameUserId());
|
|
if (gameUserVO != null) {
|
|
if (gameUserVO != null) {
|
|
- ChannelDTO channelDTO = channelService.getById(gameUserVO.getAgentId());
|
|
|
|
- gameUserRoleVO.setChannelName(channelDTO.getChannelSign());
|
|
|
|
|
|
+ PromoChannel promoChannel = promoChannelService.getById(gameUserVO.getAgentId());
|
|
|
|
+ gameUserRoleVO.setChannelName(promoChannel.getChannel());
|
|
}
|
|
}
|
|
list.add(gameUserRoleVO);
|
|
list.add(gameUserRoleVO);
|
|
});
|
|
});
|