升级工具包版本号,修改常量接口为常量类
This commit is contained in:
+2
-2
@@ -7,7 +7,7 @@ import org.springframework.boot.ApplicationRunner;
|
||||
import org.springframework.core.annotation.Order;
|
||||
import org.springframework.stereotype.Component;
|
||||
import xtools.app.sys.scheduled.service.SysScheduledService;
|
||||
import xtools.base.config.BaseParams;
|
||||
import xtools.base.config.Constants;
|
||||
import xtools.boot.log.LogBus;
|
||||
import xtools.boot.log.enums.LogBusBaseType;
|
||||
import xtools.boot.log.holder.LogTrackHolder;
|
||||
@@ -26,7 +26,7 @@ import xtools.core.enums.LogLevel;
|
||||
* @date : 2026/2/2 14:13
|
||||
*/
|
||||
@Component
|
||||
@Order(BaseParams.CP_NUM200)
|
||||
@Order(Constants.CP_NUM200)
|
||||
@RequiredArgsConstructor
|
||||
public class InitSysScheduled implements ApplicationRunner {
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package xtools.app.sys.scheduled.service.base;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.baomidou.mybatisplus.spring.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Component;
|
||||
import xtools.app.sys.scheduled.mapper.SysScheduledMapper;
|
||||
import xtools.app.sys.scheduled.model.entity.SysScheduled;
|
||||
|
||||
+4
-2
@@ -17,7 +17,6 @@ import xtools.app.sys.scheduled.model.entity.SysScheduled;
|
||||
import xtools.app.sys.scheduled.service.SysScheduledService;
|
||||
import xtools.app.sys.scheduled.service.base.SysScheduledBaseService;
|
||||
import xtools.app.sys.scheduled.utils.ScheduledUtils;
|
||||
import xtools.base.config.BaseParams;
|
||||
import xtools.boot.api.enums.StatusEnum;
|
||||
import xtools.boot.api.exection.BizError;
|
||||
import xtools.boot.api.exection.BizWarning;
|
||||
@@ -35,6 +34,9 @@ import xtools.core.enums.LogLevel;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
import static xtools.base.config.Constants.CP_NUM0;
|
||||
import static xtools.base.config.Constants.CP_NUM1;
|
||||
|
||||
/**
|
||||
* <p>Title : SysScheduledServiceImpl</p>
|
||||
* <p>Description : 定时任务 ServiceImpl</p>
|
||||
@@ -48,7 +50,7 @@ import java.util.Objects;
|
||||
@Primary
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
public class SysScheduledServiceImpl implements SysScheduledService, BaseParams {
|
||||
public class SysScheduledServiceImpl implements SysScheduledService {
|
||||
|
||||
private final SysScheduledBaseService sysScheduledBaseService;
|
||||
|
||||
|
||||
+1
-2
@@ -4,7 +4,6 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.scheduling.TaskScheduler;
|
||||
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
|
||||
import org.springframework.scheduling.support.CronTrigger;
|
||||
import xtools.base.config.BaseParams;
|
||||
import xtools.boot.api.exection.BizError;
|
||||
import xtools.core.StringUtils;
|
||||
import xtools.core.extend.CheckUtils;
|
||||
@@ -25,7 +24,7 @@ import java.util.concurrent.ScheduledFuture;
|
||||
* @date : 2026/2/23 09:46
|
||||
*/
|
||||
@Slf4j
|
||||
public class ScheduledUtils implements BaseParams {
|
||||
public class ScheduledUtils {
|
||||
|
||||
/**
|
||||
* 任务线程池
|
||||
|
||||
Reference in New Issue
Block a user