mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
定时任务管理相关接口
This commit is contained in:
@@ -3,6 +3,8 @@ package cn.lihongjie.coal.base.mapper;
|
||||
import cn.lihongjie.coal.base.dto.BaseDto;
|
||||
import cn.lihongjie.coal.base.entity.BaseEntity;
|
||||
import cn.lihongjie.coal.coalInfo.entity.CoalInfoEntity;
|
||||
import cn.lihongjie.coal.cronJob.entity.CronJobEntity;
|
||||
import cn.lihongjie.coal.cronJobLog.entity.CronJobLogEntity;
|
||||
import cn.lihongjie.coal.department.entity.DepartmentEntity;
|
||||
import cn.lihongjie.coal.dictionary.entity.DictionaryEntity;
|
||||
import cn.lihongjie.coal.dictionary.entity.DictionaryItemEntity;
|
||||
@@ -192,6 +194,26 @@ public interface CommonMapper {
|
||||
return e;
|
||||
}
|
||||
|
||||
default CronJobEntity createCronJob(String id) {
|
||||
|
||||
if (StringUtils.isEmpty(id)) {
|
||||
|
||||
return null;
|
||||
}
|
||||
var e = new CronJobEntity();
|
||||
e.setId(id);
|
||||
return e;
|
||||
}
|
||||
default CronJobLogEntity createCronJobLog(String id) {
|
||||
|
||||
if (StringUtils.isEmpty(id)) {
|
||||
|
||||
return null;
|
||||
}
|
||||
var e = new CronJobLogEntity();
|
||||
e.setId(id);
|
||||
return e;
|
||||
}
|
||||
default String toString(Object o) {
|
||||
|
||||
if (o == null) {
|
||||
|
||||
Reference in New Issue
Block a user