|
@@ -22,6 +22,7 @@ import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
import java.io.IOException;
|
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
|
|
|
+import java.util.Arrays;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
@@ -46,6 +47,19 @@ public class BindAppErrorWarnServiceImpl implements IBindAppErrorWarnService {
|
|
|
Long last30DayLong = Long.parseLong(last30Day.substring(0, 10).replaceAll("-", ""));
|
|
Long last30DayLong = Long.parseLong(last30Day.substring(0, 10).replaceAll("-", ""));
|
|
|
|
|
|
|
|
List<Map<String, String>> bindAppErrorWarnList = reportsPushMapper.bindAppErrorData(last30DayLong);
|
|
List<Map<String, String>> bindAppErrorWarnList = reportsPushMapper.bindAppErrorData(last30DayLong);
|
|
|
|
|
+
|
|
|
|
|
+ List<String> excludeAdvertiserIds = Arrays.asList(
|
|
|
|
|
+ "1828195222746121",
|
|
|
|
|
+ "1828195223251978",
|
|
|
|
|
+ "1827747808620748",
|
|
|
|
|
+ "1828195223976330",
|
|
|
|
|
+ "1823380338347136",
|
|
|
|
|
+ "1823380339959123",
|
|
|
|
|
+ "1823380339196992",
|
|
|
|
|
+ "1827747810800964"
|
|
|
|
|
+ );
|
|
|
|
|
+ bindAppErrorWarnList.removeIf(i -> excludeAdvertiserIds.contains(String.valueOf(i.get("advertiser_id"))));
|
|
|
|
|
+
|
|
|
if (Check.isNull(bindAppErrorWarnList)){
|
|
if (Check.isNull(bindAppErrorWarnList)){
|
|
|
log.info(">>>> 没有绑定错误的广告账号,任务结束");
|
|
log.info(">>>> 没有绑定错误的广告账号,任务结束");
|
|
|
return;
|
|
return;
|