feat:concAvg log
This commit is contained in:
parent
1579e41504
commit
f9d780379f
|
@ -2,10 +2,14 @@ package org.jeecg.modules.quartz.job;
|
|||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.jeecg.common.config.mqtoken.UserTokenContext;
|
||||
import org.jeecg.common.constant.DateConstant;
|
||||
import org.jeecg.common.util.SpringContextUtils;
|
||||
import org.jeecg.modules.feignclient.AbnormalAlarmClient;
|
||||
import org.quartz.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
|
||||
import static org.jeecg.common.util.TokenUtils.getTempToken;
|
||||
|
||||
/**
|
||||
|
@ -48,6 +52,10 @@ public class NucliedAvgJob implements Job {
|
|||
}
|
||||
|
||||
private String log(){
|
||||
return "计算核素浓度均值的定时任务成功执行,任务执行类: org.jeecg.modules.quartz.job.NucliedAvgJob";
|
||||
String now = LocalDateTime.now()
|
||||
.format(DateTimeFormatter.ofPattern(DateConstant.DATE_TIME));
|
||||
return "计算核素浓度均值的定时任务成功执行, " +
|
||||
"任务执行类: org.jeecg.modules.quartz.job.NucliedAvgJob, " +
|
||||
"任务执行时间: " + now;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user