|
@@ -2,7 +2,6 @@ package com.zanxiang.game.data.serve.service.impl;
|
|
|
|
|
|
import com.github.sd4324530.jtuple.Tuple2;
|
|
|
import com.google.common.base.CaseFormat;
|
|
|
-import com.zanxiang.erp.security.util.SecurityUtil;
|
|
|
import com.zanxiang.game.data.serve.component.DataPowerComponent;
|
|
|
import com.zanxiang.game.data.serve.pojo.dto.AdsOrderDetailDTO;
|
|
|
import com.zanxiang.game.data.serve.pojo.dto.AdsOrderDetailListDTO;
|
|
@@ -47,6 +46,8 @@ public class AdsOrderDetailServiceImpl implements IAdsOrderDetailService {
|
|
|
Tuple2<List<Long>, List<Long>> poerInfo = dataPowerComponent.getPowerInfo(dto.getSourceSystem());
|
|
|
List<Long> userIds = dto.getPitcherId() == null ? poerInfo.first : Collections.singletonList(Long.parseLong(dto.getPitcherId()));
|
|
|
List<Long> paramGameIds = dto.getGameId();
|
|
|
+ log.error("传进来的游戏id:{}", JsonUtil.toStringWithClass(paramGameIds));
|
|
|
+ log.error("拥有权限的游戏id:{}",JsonUtil.toStringWithClass(poerInfo.second));
|
|
|
if (CollectionUtils.isNotEmpty(paramGameIds)) {
|
|
|
//将paramGameIds中不在authGameIds中的游戏id过滤掉
|
|
|
paramGameIds.retainAll(poerInfo.second);
|