Commit 6dcda4aa authored by wanghao's avatar wanghao

1 写自检后 判断下 是否写成功

2 写自检 根据 状态 去 判断 是否需要写
parent 6cda3844
...@@ -239,7 +239,7 @@ public class DeviceTaskScheduler { ...@@ -239,7 +239,7 @@ public class DeviceTaskScheduler {
scheduler.deleteJob(jobKey); scheduler.deleteJob(jobKey);
} }
JobDetail job = JobBuilder.newJob(AgingStageOneProcessJob.class) JobDetail job = JobBuilder.newJob(AgingStageTwoProcessJob.class)
.withIdentity(jobKey) .withIdentity(jobKey)
.usingJobData("fStoreyId", fStoreyId.toString()) .usingJobData("fStoreyId", fStoreyId.toString())
.storeDurably(false) .storeDurably(false)
......
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