|
@@ -47,10 +47,12 @@ public class AdsOrderDetailServiceImpl implements IAdsOrderDetailService {
|
|
|
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));
|
|
|
+ log.error("拥有权限的游戏id:{}", JsonUtil.toStringWithClass(poerInfo.second));
|
|
|
if (CollectionUtils.isNotEmpty(paramGameIds)) {
|
|
|
|
|
|
- paramGameIds.retainAll(poerInfo.second);
|
|
|
+ if (poerInfo.second != null) {
|
|
|
+ paramGameIds.retainAll(poerInfo.second);
|
|
|
+ }
|
|
|
} else {
|
|
|
paramGameIds = poerInfo.second;
|
|
|
}
|