|
@@ -286,7 +286,9 @@ public abstract class RankStrategyBasic implements RankStrategy {
|
|
|
if (Objects.equals(layer, "有曝光无转化") && Objects.equals(clazz, "其他") && scoreParam.getExpCodeSet().contains(targetCrowdExcludeExp)) {
|
|
|
List<AdPlatformCreativeDTO> adIdList = request.getAdIdList();
|
|
|
List<AdPlatformCreativeDTO> filteredAdList = adIdList.stream().filter(e -> e.getCustomerId() == null || e.getCustomerId() != 26L).collect(Collectors.toList());
|
|
|
- request.setAdIdList(filteredAdList);
|
|
|
+ if(CollectionUtils.isNotEmpty(filteredAdList)){
|
|
|
+ request.setAdIdList(filteredAdList);
|
|
|
+ }
|
|
|
log.info("targetCrowdExcludeExp filtered request={}", JSONObject.toJSONString(request));
|
|
|
}
|
|
|
}
|