|
@@ -585,7 +585,7 @@ public class WODispatchPlanTmDoBizFun {
|
|
|
nextTakeTime = Instant.ofEpochMilli(nextTakeTime)
|
|
|
.plus(1, ChronoUnit.DAYS).toEpochMilli();
|
|
|
limitNextTakeTime = Instant.ofEpochMilli(limitNextTakeTime).toEpochMilli();
|
|
|
- }else if(nextTakeTime<=oldTm.atZone(ZoneId.systemDefault()).toEpochSecond()){
|
|
|
+ }else if(oldTm!=null&&nextTakeTime<=oldTm.atZone(ZoneId.systemDefault()).toEpochSecond()){
|
|
|
//TODO 连续时需考虑
|
|
|
//TODO 如果传递了对比值, 则说明当前计算的时间与old不符合条件,则再加一算一次
|
|
|
nextTakeTime = Instant.ofEpochMilli(nextTakeTime)
|