소스 검색

adq-批处理数据

yumeng 11 달 전
부모
커밋
a5263c602a

+ 2 - 0
job-adq/src/main/java/cn/com/ctop/job/adq/data/service/impl/AdqAccountReportServiceImpl.java

@@ -12,6 +12,7 @@ import com.alibaba.fastjson.JSONArray;
 import com.alibaba.fastjson.JSONObject;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.scheduling.annotation.EnableScheduling;
 import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.stereotype.Service;
 
@@ -21,6 +22,7 @@ import java.util.*;
 
 @Service
 @Slf4j
+@EnableScheduling
 public class AdqAccountReportServiceImpl implements IAdqAccountReportService {
     @Autowired
     private AdqErrorLogMapper adqErrorLogMapper;

+ 2 - 0
job-adq/src/main/java/cn/com/ctop/job/adq/data/service/impl/AdqCreativeCreativeReportServiceImpl.java

@@ -14,6 +14,7 @@ import com.alibaba.fastjson.JSONArray;
 import com.alibaba.fastjson.JSONObject;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.scheduling.annotation.EnableScheduling;
 import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.stereotype.Service;
 
@@ -23,6 +24,7 @@ import java.util.*;
 
 @Service
 @Slf4j
+@EnableScheduling
 public class AdqCreativeCreativeReportServiceImpl implements IAdqCreativeReportService {
     @Autowired
     private AdqCreativeReportMapper adqReportMapper;