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 1181ddaf
authored
Nov 17, 2023
by
Ren Ping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:移除不满足工程师时间窗强约束的订单
1 parent
8312e0fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
project-dispatch/src/main/java/com/dituhui/pea/dispatch/service/impl/SolveServiceImpl.java
project-dispatch/src/main/java/com/dituhui/pea/dispatch/service/impl/SolveServiceImpl.java
View file @
1181dda
...
@@ -553,6 +553,7 @@ public class SolveServiceImpl implements SolveService {
...
@@ -553,6 +553,7 @@ public class SolveServiceImpl implements SolveService {
// Date end = Date.from(localEndTime.atZone(ZoneId.systemDefault()).toInstant());
// Date end = Date.from(localEndTime.atZone(ZoneId.systemDefault()).toInstant());
log
.
info
(
"算法结果回写dispatch, step3-逐个客户处理, teamId:{}, batchNo:{}, employ: {}, customer:{}, service-duration:{} "
,
teamId
,
batchNo
,
technician
.
getCode
(),
customer
.
getCode
(),
customer
.
getServiceDuration
());
log
.
info
(
"算法结果回写dispatch, step3-逐个客户处理, teamId:{}, batchNo:{}, employ: {}, customer:{}, service-duration:{} "
,
teamId
,
batchNo
,
technician
.
getCode
(),
customer
.
getCode
(),
customer
.
getServiceDuration
());
log
.
info
(
customer
.
toString
());
LocalDateTime
customDateTime
=
LocalDateTime
.
parse
(
customer
.
getDt
()
+
" 00:00:00"
,
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
));
LocalDateTime
customDateTime
=
LocalDateTime
.
parse
(
customer
.
getDt
()
+
" 00:00:00"
,
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
));
LocalDateTime
arriveTime
=
customDateTime
.
plusMinutes
(
customer
.
getArrivalTime
());
LocalDateTime
arriveTime
=
customDateTime
.
plusMinutes
(
customer
.
getArrivalTime
());
LocalDateTime
leaveTime
=
customDateTime
.
plusMinutes
(
customer
.
getDepartureTime
());
LocalDateTime
leaveTime
=
customDateTime
.
plusMinutes
(
customer
.
getDepartureTime
());
...
...
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