|
@@ -581,7 +581,8 @@ public class WODispatchPlanTmDoBizFun {
|
|
|
}
|
|
|
|
|
|
//TODO 如果当前时间大于生效时间,说明生效时间过期,则加一天
|
|
|
- LocalDateTime localNext = LocalDateTime.ofInstant(Instant.ofEpochMilli(nextTakeTime), ZoneId.systemDefault());
|
|
|
+ LocalDateTime localNext = LocalDateTime.ofInstant(Instant.ofEpochMilli(nextTakeTime), ZoneId.systemDefault())
|
|
|
+ .minusMinutes(model.getDispatchLeadTime());
|
|
|
if(limitNextTakeTime<TimeTool.getCurMsUTC()){
|
|
|
nextTakeTime = Instant.ofEpochMilli(nextTakeTime)
|
|
|
.plus(1, ChronoUnit.DAYS).toEpochMilli();
|