LiGuang vor 3 Jahren
Ursprung
Commit
34a0ff7e44

+ 27 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/quartz/job/WeixinUpCard.java

@@ -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("=======================执行完成======================");
+
+    }
+
+}