|
@@ -0,0 +1,27 @@
|
|
|
+package org.jeecg.modules.quartz.job;
|
|
|
+
|
|
|
+import lombok.SneakyThrows;
|
|
|
+import org.jeecg.modules.system.service.IWeixinUserService;
|
|
|
+import org.quartz.Job;
|
|
|
+import org.quartz.JobExecutionContext;
|
|
|
+import org.quartz.JobExecutionException;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 微信同步补卡信息平台
|
|
|
+ */
|
|
|
+public class WeixinUpCard implements Job {
|
|
|
+ @Autowired
|
|
|
+ IWeixinUserService weixinUserService;
|
|
|
+
|
|
|
+
|
|
|
+ @SneakyThrows
|
|
|
+ @Override
|
|
|
+ public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
|
+ System.out.println("=======================开始执行======================");
|
|
|
+ weixinUserService.WeixinUpCard();
|
|
|
+ System.out.println("=======================执行完成======================");
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+}
|