未验证 提交 c2e760bf 编写于 作者: journey2018's avatar journey2018 提交者: GitHub

Merge pull request #280 from qiaozhanwei/branch-1.0.2

If there is a scheduled time, take the scheduling time. Recovery from…
......@@ -50,9 +50,16 @@ public class BusinessTimeUtils {
case RECOVER_TOLERANCE_FAULT_PROCESS:
case RECOVER_SUSPENDED_PROCESS:
case START_FAILURE_TASK_PROCESS:
case REPEAT_RUNNING:
case SCHEDULER:
default:
businessDate = addDays(new Date(), -1);
if (businessDate != null){
/**
* If there is a scheduled time, take the scheduling time. Recovery from failed nodes, suspension of recovery, re-run for scheduling
*/
businessDate = runTime;
}
break;
}
Date businessCurrentDate = addDays(businessDate, 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册