|
@@ -0,0 +1,23 @@
|
|
|
|
|
+package cn.com.ctop.job.adq.handler;
|
|
|
|
|
+
|
|
|
|
|
+import cn.com.ctop.job.adq.data.service.IAdvBudgetService;
|
|
|
|
|
+import com.xxl.job.core.handler.annotation.XxlJob;
|
|
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+@Slf4j
|
|
|
|
|
+@Component
|
|
|
|
|
+public class AdvBudgetJob {
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IAdvBudgetService advBudgetService;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 调取接口上传商品库文件到oss
|
|
|
|
|
+ */
|
|
|
|
|
+ @XxlJob("sumPayAmountByPeriodAndMerchant")
|
|
|
|
|
+ public void sumPayAmountByPeriodAndMerchant() throws Exception {
|
|
|
|
|
+ advBudgetService.sumPayAmountByPeriodAndMerchant();
|
|
|
|
|
+ }
|
|
|
|
|
+}
|