Commit b45bcfa5 by wangli

修改

1 parent bc9c42e9
......@@ -485,10 +485,12 @@ class OrderRequestScheduler {
List<Line> newTasks = new ArrayList<>();
for (OrderRequest o : orderRequests) {
Line l = new Line(o.getOrderId(), 30);
Line t = new Line(o.getOrderId(), 30);
newTasks.add(t);
}
return new LineSegmentScheduler().scheduleLineSegments(used, newTasks);
LineSegmentScheduler scheduler = new LineSegmentScheduler();
return scheduler.scheduleLineSegments(used, newTasks);
}
public int Timestamp2LinePoint(Timestamp t) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!