|
|
@@ -36,13 +36,13 @@ public class BytedanceCdpProjectJob {
|
|
|
public void getAll() {
|
|
|
log.info("[getAll] 任务启动...");
|
|
|
//BYTE_APP 字节小程序, WECHAT_APP:微信小程序
|
|
|
- List<Long> ttList = cdpProjectService.queryMediaAdverIds(null, "BYTE_APP");
|
|
|
+ List<Long> ttList = cdpProjectService.getAllAdverIdList("tt");
|
|
|
if (!Check.isNull(ttList)) {
|
|
|
ttList.forEach(id -> allService.submit(() -> {
|
|
|
cdpProjectService.getByteAppInfo(id);
|
|
|
}));
|
|
|
}
|
|
|
- List<Long> wxlist = cdpProjectService.queryMediaAdverIds(null, "WECHAT_APP");
|
|
|
+ List<Long> wxlist = cdpProjectService.getAllAdverIdList("wx");
|
|
|
if (!Check.isNull(wxlist)) {
|
|
|
wxlist.forEach(id -> allService2.submit(() -> {
|
|
|
cdpProjectService.getWxAppInfo(id);
|