|
@@ -543,16 +543,16 @@ public class WODispatchPlanTmDoBizFun {
|
|
|
limitNextTakeTime = Instant.ofEpochMilli(
|
|
|
TimeTool.convertDateStr2UTC
|
|
|
(JSONArray.parseArray(model.getCycles()).getString(0)
|
|
|
- +" "+newList.get(0).getHandleStartTimeLimit())).toEpochMilli();
|
|
|
+ +" "+newList.get(0).getHandleStartTimeLimit())).plus(Duration.ofDays(1)).toEpochMilli();
|
|
|
}else if(model.getDispatchLeadTime()>0){
|
|
|
nextTakeTime = Instant.ofEpochMilli(
|
|
|
TimeTool.convertDateStr2UTC
|
|
|
(JSONArray.parseArray(model.getCycles()).getString(0)
|
|
|
- +" "+newList.get(0).getHandleStartTime())).minus(-model.getDispatchLeadTime(), ChronoUnit.MINUTES).toEpochMilli();
|
|
|
+ +" "+newList.get(0).getHandleStartTime())).plus(Duration.ofDays(1)).minus(-model.getDispatchLeadTime(), ChronoUnit.MINUTES).toEpochMilli();
|
|
|
limitNextTakeTime = Instant.ofEpochMilli(
|
|
|
TimeTool.convertDateStr2UTC
|
|
|
(JSONArray.parseArray(model.getCycles()).getString(0)
|
|
|
- +" "+newList.get(0).getHandleStartTimeLimit())).toEpochMilli();
|
|
|
+ +" "+newList.get(0).getHandleStartTimeLimit())).plus(Duration.ofDays(1)).toEpochMilli();
|
|
|
}else if(model.getDispatchLeadTime()<0){
|
|
|
nextTakeTime = Instant.ofEpochMilli(
|
|
|
TimeTool.convertDateStr2UTC
|
|
@@ -561,7 +561,7 @@ public class WODispatchPlanTmDoBizFun {
|
|
|
limitNextTakeTime = Instant.ofEpochMilli(
|
|
|
TimeTool.convertDateStr2UTC
|
|
|
(JSONArray.parseArray(model.getCycles()).getString(0)
|
|
|
- +" "+newList.get(0).getHandleStartTimeLimit())).toEpochMilli();
|
|
|
+ +" "+newList.get(0).getHandleStartTimeLimit())).plus(Duration.ofDays(1)).toEpochMilli();
|
|
|
}
|
|
|
}
|
|
|
|