feat:定时任务

This commit is contained in:
Xiang
2026-01-15 17:31:07 +08:00
parent 15cefd3db6
commit cef2662302
5 changed files with 22 additions and 39 deletions

View File

@@ -1,19 +0,0 @@
package com.xiang.app.modules.jntyzx.schedule;
import com.xiang.core.quartz.annotation.XxzJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
/**
* @Author: xiang
* @Date: 2026-01-05 08:59
*/
@Slf4j
@Component
public class TestXxzJob {
@XxzJob(name = "TestXxzJob")
public void testXxzJob() {
log.info("测试xxz-job框架");
}
}

View File

@@ -1,19 +0,0 @@
package com.xiang.app.schedule;
import com.xiang.core.quartz.annotation.XxzJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
/**
* @Author: xiang
* @Date: 2026-01-14 17:17
*/
@Slf4j
@Component
public class TestTask1 {
@XxzJob(name = "ts")
public void ts() {
log.info("111");
}
}