* 'master' of https://git.zyuas.com/DJI/shangyun: 设置定时任务报错问题修复
@@ -70,7 +70,7 @@ public class WaylineRedisServiceImpl implements IWaylineRedisService {
throw new RuntimeException("Job id can't be null.");
}
RedisOpsUtils.setWithExpire(RedisConst.WAYLINE_JOB_CONDITION_PREFIX + waylineJob.getJobId(), waylineJob,
- (Duration.between(waylineJob.getEndTime(), LocalDateTime.now()).getSeconds()));
+ (Duration.between(LocalDateTime.now(),waylineJob.getEndTime()).getSeconds()));
@Override