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
9b0c5224
Commit
9b0c5224
authored
Aug 21, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-fix' into dev
parents
67828138
046fe455
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
13 deletions
+26
-13
update_2024-07.sql
sql/update_2024-07.sql
+11
-11
OrderServiceImpl.java
...dao/module/order/service/order/impl/OrderServiceImpl.java
+5
-0
BoxServiceImpl.java
...der/yudao/module/shipment/service/box/BoxServiceImpl.java
+8
-0
BoxCabinetUnloadServiceImpl.java
...service/boxCabinetUnload/BoxCabinetUnloadServiceImpl.java
+2
-2
No files found.
sql/update_2024-07.sql
View file @
9b0c5224
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderServiceImpl.java
View file @
9b0c5224
...
...
@@ -4203,6 +4203,11 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
case
UNLOADED_CABINET:
// if (Objects.isNull(currentOrderDO.getUnloadTime())) {
currentOrderDO
.
setUnloadTime
(
now
);
// }
break
;
case
UNLOADED_CABINET_AIR:
// if (Objects.isNull(currentOrderDO.getUnloadTime())) {
currentOrderDO
.
setUnloadTime
(
now
);
// }
break
;
case
PICKED_UP:
...
...
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/service/box/BoxServiceImpl.java
View file @
9b0c5224
...
...
@@ -1976,6 +1976,10 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
orderSeaTimeEnum
=
OrderSeaTimeEnum
.
SEA_CLEARED
;
break
;
case
UNLOADED:
if
(
Objects
.
isNull
(
businessTime
)){
// 到仓业务时间为空时,不更新订单到仓动态
return
;
}
orderSeaTimeEnum
=
OrderSeaTimeEnum
.
SEA_UNLOADED_CABINET
;
break
;
}
...
...
@@ -2012,6 +2016,10 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
orderAirTimeEnum
=
OrderAirTimeEnum
.
AIR_ARRIVED
;
break
;
case
TO_WAREHOUSED:
if
(
Objects
.
isNull
(
businessTime
)){
// 到仓业务时间为空时,不在做订单到仓动态更新
return
;
}
orderAirTimeEnum
=
OrderAirTimeEnum
.
AIR_UNLOADED_CABINET
;
break
;
}
...
...
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/service/boxCabinetUnload/BoxCabinetUnloadServiceImpl.java
View file @
9b0c5224
...
...
@@ -137,14 +137,14 @@ public class BoxCabinetUnloadServiceImpl extends AbstractService<BoxCabinetUnloa
//修改订单状态为已到仓
boxService
.
updateOrderStatusByShipmentIdAndTransportType
(
shipmentId
,
OrderStatusEnum
.
UNLOADED_CABINET
.
getValue
(),
OrderStatusMsgEnum
.
UNLOADED_CABINET
.
getInWarehouseState
(),
BoxAirStatusEnum
.
TO_WAREHOUSED
.
getStatus
(),
null
,
null
,
ulBoxTime
,
null
,
Integer
.
parseInt
(
boxDO
.
getTransportType
()));
BoxAirStatusEnum
.
TO_WAREHOUSED
.
getStatus
(),
null
,
null
,
null
,
null
,
Integer
.
parseInt
(
boxDO
.
getTransportType
()));
boxService
.
addOrderLogByShipmentId
(
shipmentId
,
OrderShipmentLog
.
CABINET_WAREHOUSE
,
""
);
}
else
{
//修改订单状态为已卸柜
boxService
.
updateOrderStatusByShipmentIdAndTransportType
(
shipmentId
,
OrderStatusEnum
.
UNLOADED_CABINET
.
getValue
(),
OrderStatusMsgEnum
.
UNLOADED_CABINET
.
getInWarehouseState
(),
BoxStatusEnum
.
UNLOADED
.
getStatus
(),
null
,
null
,
ulBoxTime
,
null
,
Integer
.
parseInt
(
boxDO
.
getTransportType
()));
BoxStatusEnum
.
UNLOADED
.
getStatus
(),
null
,
null
,
null
,
null
,
Integer
.
parseInt
(
boxDO
.
getTransportType
()));
boxService
.
addOrderLogByShipmentId
(
shipmentId
,
OrderShipmentLog
.
CABINET_UNLOAD
,
""
);
}
...
...
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