云殇忆 пре 1 година
родитељ
комит
ede832b9c8
1 измењених фајлова са 22 додато и 22 уклоњено
  1. 22 22
      benyun-core/src/main/java/com/ruoyi/benyun/job/BrandStatsiticsJob.java

+ 22 - 22
benyun-core/src/main/java/com/ruoyi/benyun/job/BrandStatsiticsJob.java

@@ -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();
+    }
+}