Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
bdfd2819
Commit
bdfd2819
authored
Jul 15, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时刷新轨迹作业修改,更新物流状态
parent
9e8b20cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ch-admin-api/src/main/java/com/wwdz/ch/admin/job/RefreshLogisticsJob.java
.../main/java/com/wwdz/ch/admin/job/RefreshLogisticsJob.java
+2
-1
No files found.
ch-admin-api/src/main/java/com/wwdz/ch/admin/job/RefreshLogisticsJob.java
View file @
bdfd2819
...
@@ -83,6 +83,7 @@ public class RefreshLogisticsJob {
...
@@ -83,6 +83,7 @@ public class RefreshLogisticsJob {
Date
startTime
=
Date
.
from
(
startInstant
);
Date
startTime
=
Date
.
from
(
startInstant
);
distributionOrderRequestDto
.
setStartDeliveryTime
(
startTime
);
distributionOrderRequestDto
.
setStartDeliveryTime
(
startTime
);
distributionOrderRequestDto
.
setEndDeliveryTime
(
now
);
distributionOrderRequestDto
.
setEndDeliveryTime
(
now
);
distributionOrderRequestDto
.
setState
(
DistributionEnum
.
DistributionOrderStateEnum
.
PRE_SIGNED
.
getCode
());
distributionOrderRequestDto
.
setNotFilterLogisticsState
(
LogisticsStateEnum
.
StateEnum
.
SIGNED
.
getCode
());
distributionOrderRequestDto
.
setNotFilterLogisticsState
(
LogisticsStateEnum
.
StateEnum
.
SIGNED
.
getCode
());
int
page
=
0
;
int
page
=
0
;
while
(
hasNextPage
)
{
while
(
hasNextPage
)
{
...
@@ -103,7 +104,7 @@ public class RefreshLogisticsJob {
...
@@ -103,7 +104,7 @@ public class RefreshLogisticsJob {
}
}
LogisticsInfo
logisticsInfo
=
(
LogisticsInfo
)
result
.
getData
();
LogisticsInfo
logisticsInfo
=
(
LogisticsInfo
)
result
.
getData
();
int
logisticsState
=
Integer
.
parseInt
(
logisticsInfo
.
getState
());
int
logisticsState
=
Integer
.
parseInt
(
logisticsInfo
.
getState
());
if
(
logisticsState
!=
distributionOrder
.
getLogisticsState
().
intValue
())
{
if
(
distributionOrder
.
getLogisticsState
()
==
null
||
logisticsState
!=
distributionOrder
.
getLogisticsState
().
intValue
())
{
DistributionOrder
updateDto
=
new
DistributionOrder
();
DistributionOrder
updateDto
=
new
DistributionOrder
();
updateDto
.
setDistributionOrderId
(
orderId
);
updateDto
.
setDistributionOrderId
(
orderId
);
updateDto
.
setLogisticsState
(
logisticsState
);
updateDto
.
setLogisticsState
(
logisticsState
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment