Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
14dc8f3d
Commit
14dc8f3d
authored
Oct 10, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
fec004c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
20 deletions
+26
-20
BoxServiceImpl.java
...der/yudao/module/shipment/service/box/BoxServiceImpl.java
+26
-20
No files found.
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/service/box/BoxServiceImpl.java
View file @
14dc8f3d
...
@@ -1865,15 +1865,19 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
...
@@ -1865,15 +1865,19 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
for
(
Long
orderId
:
orderIdList
)
{
for
(
Long
orderId
:
orderIdList
)
{
orderService
.
updateStatus
(
orderId
,
null
,
orderStatus
,
null
,
inWarehouseState
,
shipmentState
,
auditType
,
auditResult
,
businessTime
,
"出货操作"
,
null
);
orderService
.
updateStatus
(
orderId
,
null
,
orderStatus
,
null
,
inWarehouseState
,
shipmentState
,
auditType
,
auditResult
,
businessTime
,
"出货操作"
,
null
);
}
}
if
(
transportType
==
3
)
{
if
(
Objects
.
nonNull
(
shipmentState
))
{
if
(
shipmentState
==
BoxStatusEnum
.
CLEARANCE_WAIT_UNLOAD
.
getStatus
())
{
if
(
transportType
==
1
)
{
// 空运清关
this
.
shipmentSeaOrderTimeLog
(
orderIdList
,
null
,
businessTime
,
shipmentState
);
addOrderAirTimeLog
(
orderIdList
,
OrderAirTimeEnum
.
AIR_CLEARED
,
null
,
null
,
null
,
businessTime
,
null
);
}
else
if
(
transportType
==
3
)
{
}
else
if
(
shipmentState
==
BoxStatusEnum
.
ARRIVAL_WAIT_DISCHARGE
.
getStatus
())
{
if
(
shipmentState
==
BoxStatusEnum
.
CLEARANCE_WAIT_UNLOAD
.
getStatus
())
{
// 空运到港
// 空运清关
addOrderAirTimeLog
(
orderIdList
,
OrderAirTimeEnum
.
AIR_ARRIVED
,
null
,
null
,
null
,
businessTime
,
null
);
addOrderAirTimeLog
(
orderIdList
,
OrderAirTimeEnum
.
AIR_CLEARED
,
null
,
null
,
null
,
businessTime
,
null
);
}
else
{
}
else
if
(
shipmentState
==
BoxStatusEnum
.
ARRIVAL_WAIT_DISCHARGE
.
getStatus
()
||
shipmentState
==
BoxStatusEnum
.
DISCHARGE_WAIT_CLEARANCE
.
getStatus
())
{
this
.
shipmentAirOrderTimeLog
(
orderIdList
,
null
,
businessTime
,
shipmentState
);
// 空运到港
addOrderAirTimeLog
(
orderIdList
,
OrderAirTimeEnum
.
AIR_ARRIVED
,
null
,
null
,
null
,
businessTime
,
null
);
}
else
{
this
.
shipmentAirOrderTimeLog
(
orderIdList
,
null
,
businessTime
,
shipmentState
);
}
}
}
}
}
}
}
...
@@ -1902,17 +1906,19 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
...
@@ -1902,17 +1906,19 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
for
(
Long
orderId
:
orderIdList
)
{
for
(
Long
orderId
:
orderIdList
)
{
orderService
.
updateStatus
(
orderId
,
null
,
orderStatus
,
null
,
inWarehouseState
,
shipmentState
,
auditType
,
auditResult
,
businessTime
,
"出货操作"
,
null
);
orderService
.
updateStatus
(
orderId
,
null
,
orderStatus
,
null
,
inWarehouseState
,
shipmentState
,
auditType
,
auditResult
,
businessTime
,
"出货操作"
,
null
);
}
}
if
(
transportType
==
1
)
{
if
(
Objects
.
nonNull
(
shipmentState
))
{
this
.
shipmentSeaOrderTimeLog
(
orderIdList
,
estTime
,
businessTime
,
shipmentState
);
if
(
transportType
==
1
)
{
}
else
if
(
transportType
==
3
)
{
this
.
shipmentSeaOrderTimeLog
(
orderIdList
,
estTime
,
businessTime
,
shipmentState
);
if
(
shipmentState
==
BoxStatusEnum
.
CLEARANCE_WAIT_UNLOAD
.
getStatus
())
{
}
else
if
(
transportType
==
3
)
{
// 空运清关
if
(
shipmentState
==
BoxStatusEnum
.
CLEARANCE_WAIT_UNLOAD
.
getStatus
())
{
addOrderAirTimeLog
(
orderIdList
,
OrderAirTimeEnum
.
AIR_CLEARED
,
null
,
null
,
estTime
,
businessTime
,
null
);
// 空运清关
}
else
if
(
shipmentState
==
BoxStatusEnum
.
ARRIVAL_WAIT_DISCHARGE
.
getStatus
()
||
shipmentState
==
BoxStatusEnum
.
DISCHARGE_WAIT_CLEARANCE
.
getStatus
())
{
addOrderAirTimeLog
(
orderIdList
,
OrderAirTimeEnum
.
AIR_CLEARED
,
null
,
null
,
estTime
,
businessTime
,
null
);
// 空运到港
}
else
if
(
shipmentState
==
BoxStatusEnum
.
ARRIVAL_WAIT_DISCHARGE
.
getStatus
()
||
shipmentState
==
BoxStatusEnum
.
DISCHARGE_WAIT_CLEARANCE
.
getStatus
())
{
addOrderAirTimeLog
(
orderIdList
,
OrderAirTimeEnum
.
AIR_ARRIVED
,
null
,
null
,
estTime
,
businessTime
,
null
);
// 空运到港
}
else
{
addOrderAirTimeLog
(
orderIdList
,
OrderAirTimeEnum
.
AIR_ARRIVED
,
null
,
null
,
estTime
,
businessTime
,
null
);
this
.
shipmentAirOrderTimeLog
(
orderIdList
,
estTime
,
businessTime
,
shipmentState
);
}
else
{
this
.
shipmentAirOrderTimeLog
(
orderIdList
,
estTime
,
businessTime
,
shipmentState
);
}
}
}
}
}
}
}
...
...
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