From eca625c35d5ed64c98277d2f83963e46438f50ce Mon Sep 17 00:00:00 2001
From: Jay <csj123456>
Date: 星期五, 03 一月 2025 09:57:50 +0800
Subject: [PATCH] 执行调度模型新增可以传入模型参数

---
 iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/job/demo/DemoJob.java |   62 +++++++++++++++---------------
 1 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/job/demo/DemoJob.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/job/demo/DemoJob.java
index e3bb964..3be6681 100644
--- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/job/demo/DemoJob.java
+++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/job/demo/DemoJob.java
@@ -1,31 +1,31 @@
-package com.iailab.module.system.job.demo;
-
-import com.iailab.framework.tenant.core.job.TenantJob;
-import com.xxl.job.core.handler.annotation.XxlJob;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.stereotype.Component;
-
-import java.util.Date;
-import java.util.concurrent.atomic.AtomicInteger;
-
-@Component
-public class DemoJob {
-
-    private Logger logger = LoggerFactory.getLogger(getClass());
-
-    private final AtomicInteger counts = new AtomicInteger();
-
-    private static final Object lock = new Object();
-
-
-    @XxlJob("demoJob")
-    @TenantJob
-    public void execute() {
-        synchronized (lock) {
-            logger.info("[execute][定时第 ({}) 次执行]", counts.incrementAndGet());
-            System.out.println(new Date() + ": 我是系统定时任务");
-        }
-    }
-
-}
+//package com.iailab.module.system.job.demo;
+//
+//import com.iailab.framework.tenant.core.job.TenantJob;
+//import com.xxl.job.core.handler.annotation.XxlJob;
+//import org.slf4j.Logger;
+//import org.slf4j.LoggerFactory;
+//import org.springframework.stereotype.Component;
+//
+//import java.util.Date;
+//import java.util.concurrent.atomic.AtomicInteger;
+//
+//@Component
+//public class DemoJob {
+//
+//    private Logger logger = LoggerFactory.getLogger(getClass());
+//
+//    private final AtomicInteger counts = new AtomicInteger();
+//
+//    private static final Object lock = new Object();
+//
+//
+//    @XxlJob("demoJob")
+//    @TenantJob
+//    public void execute() {
+//        synchronized (lock) {
+//            logger.info("[execute][定时第 ({}) 次执行]", counts.incrementAndGet());
+//            System.out.println(new Date() + ": 我是系统定时任务");
+//        }
+//    }
+//
+//}

--
Gitblit v1.9.3