Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b45bcfa5
authored
Jun 15, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
1 parent
bc9c42e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/DispatchServiceImpl.java
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/DispatchServiceImpl.java
View file @
b45bcfa
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment