feat:测试xxzJob
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package com.xiang.app.modules.jntyzx.schedule;
|
||||
|
||||
import com.xiang.xmc.service.quartz.annotation.XxzJob;
|
||||
import com.xiang.core.quartz.annotation.XxzJob;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user