Commit 6b72b9bd by guominglei

添加日志id

parent 74f0e51a
......@@ -69,6 +69,8 @@ public class ApiNodeServiceImpl implements ApiNodeService {
jobTaskRunLogMapper.saveJobTaskRunLog(jobTaskRunLog);
//获取日志id
Integer logId= jobTaskRunLog.getLogId();
//设置日志id
schedule.setLogId(logId);
TimerTask timerTask = new ScriptExecutorJobTask(schedule);
WorkRoulette.addJob(timerTask, triggerTime);
RunLog runLog = RunLog.builder().isEnd(false).runLog("等待服务器分配资源").build();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment