|
@@ -1,22 +1,22 @@
|
|
|
-//package com.ruoyi.benyun.job;
|
|
|
-//
|
|
|
-//import com.ruoyi.benyun.utils.statistics.Together;
|
|
|
-//import lombok.extern.slf4j.Slf4j;
|
|
|
-//import org.quartz.Job;
|
|
|
-//import org.quartz.JobExecutionContext;
|
|
|
-//import org.quartz.JobExecutionException;
|
|
|
-//import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-//import org.springframework.stereotype.Component;
|
|
|
-//
|
|
|
-//@Slf4j
|
|
|
-//@Component
|
|
|
-//public class BrandStatsiticsJob implements Job {
|
|
|
-// @Autowired
|
|
|
-// Together together;
|
|
|
-//
|
|
|
-// //每月一次
|
|
|
-// @Override
|
|
|
-// public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
|
-// together.start();
|
|
|
-// }
|
|
|
-//}
|
|
|
+package com.ruoyi.benyun.job;
|
|
|
+
|
|
|
+import com.ruoyi.benyun.utils.statistics.Together;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.quartz.Job;
|
|
|
+import org.quartz.JobExecutionContext;
|
|
|
+import org.quartz.JobExecutionException;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+
|
|
|
+@Slf4j
|
|
|
+@Component
|
|
|
+public class BrandStatsiticsJob implements Job {
|
|
|
+ @Autowired
|
|
|
+ Together together;
|
|
|
+
|
|
|
+ //每月一次
|
|
|
+ @Override
|
|
|
+ public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
|
+ together.start();
|
|
|
+ }
|
|
|
+}
|