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
Hide 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
...
@@ -13,17 +13,17 @@ alter table `ecw_order`
...
@@ -13,17 +13,17 @@ alter table `ecw_order`
CREATE
TABLE
`compare_air_customer_result`
(
CREATE
TABLE
`compare_air_customer_result`
(
`id`
bigint
NOT
NULL
AUTO_INCREMENT
,
`id`
bigint
NOT
NULL
AUTO_INCREMENT
,
`number`
varchar
(
100
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'name'
,
`number`
varchar
(
100
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'name'
,
`name`
varchar
(
100
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'name'
,
`name`
varchar
(
100
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'name'
,
`phone`
varchar
(
100
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'phone'
,
`phone`
varchar
(
100
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'phone'
,
`old_customer_name`
varchar
(
100
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'old_customerName'
,
`old_customer_name`
varchar
(
100
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'old_customerName'
,
`customer_name`
varchar
(
100
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'customerName'
,
`customer_name`
varchar
(
100
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'customerName'
,
`enter_open_sea_time`
datetime
DEFAULT
NULL
COMMENT
'入公海时间'
,
`enter_open_sea_time`
datetime
DEFAULT
NULL
COMMENT
'入公海时间'
,
`creator`
varchar
(
64
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
''
COMMENT
'创建者'
,
`creator`
varchar
(
64
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
''
COMMENT
'创建者'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`type`
varchar
(
1
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'type'
,
`type`
varchar
(
1
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'type'
,
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
COMMENT
=
'客户比对表结果表'
;
)
ENGINE
=
InnoDB
COMMENT
=
'客户比对表结果表'
;
...
...
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
...
@@ -4203,6 +4203,11 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
case
UNLOADED_CABINET:
case
UNLOADED_CABINET:
// if (Objects.isNull(currentOrderDO.getUnloadTime())) {
// if (Objects.isNull(currentOrderDO.getUnloadTime())) {
currentOrderDO
.
setUnloadTime
(
now
);
currentOrderDO
.
setUnloadTime
(
now
);
// }
break
;
case
UNLOADED_CABINET_AIR:
// if (Objects.isNull(currentOrderDO.getUnloadTime())) {
currentOrderDO
.
setUnloadTime
(
now
);
// }
// }
break
;
break
;
case
PICKED_UP:
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
...
@@ -1976,6 +1976,10 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
orderSeaTimeEnum
=
OrderSeaTimeEnum
.
SEA_CLEARED
;
orderSeaTimeEnum
=
OrderSeaTimeEnum
.
SEA_CLEARED
;
break
;
break
;
case
UNLOADED:
case
UNLOADED:
if
(
Objects
.
isNull
(
businessTime
)){
// 到仓业务时间为空时,不更新订单到仓动态
return
;
}
orderSeaTimeEnum
=
OrderSeaTimeEnum
.
SEA_UNLOADED_CABINET
;
orderSeaTimeEnum
=
OrderSeaTimeEnum
.
SEA_UNLOADED_CABINET
;
break
;
break
;
}
}
...
@@ -2012,6 +2016,10 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
...
@@ -2012,6 +2016,10 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
orderAirTimeEnum
=
OrderAirTimeEnum
.
AIR_ARRIVED
;
orderAirTimeEnum
=
OrderAirTimeEnum
.
AIR_ARRIVED
;
break
;
break
;
case
TO_WAREHOUSED:
case
TO_WAREHOUSED:
if
(
Objects
.
isNull
(
businessTime
)){
// 到仓业务时间为空时,不在做订单到仓动态更新
return
;
}
orderAirTimeEnum
=
OrderAirTimeEnum
.
AIR_UNLOADED_CABINET
;
orderAirTimeEnum
=
OrderAirTimeEnum
.
AIR_UNLOADED_CABINET
;
break
;
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
...
@@ -137,14 +137,14 @@ public class BoxCabinetUnloadServiceImpl extends AbstractService<BoxCabinetUnloa
//修改订单状态为已到仓
//修改订单状态为已到仓
boxService
.
updateOrderStatusByShipmentIdAndTransportType
(
shipmentId
,
OrderStatusEnum
.
UNLOADED_CABINET
.
getValue
(),
boxService
.
updateOrderStatusByShipmentIdAndTransportType
(
shipmentId
,
OrderStatusEnum
.
UNLOADED_CABINET
.
getValue
(),
OrderStatusMsgEnum
.
UNLOADED_CABINET
.
getInWarehouseState
(),
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
,
""
);
boxService
.
addOrderLogByShipmentId
(
shipmentId
,
OrderShipmentLog
.
CABINET_WAREHOUSE
,
""
);
}
else
{
}
else
{
//修改订单状态为已卸柜
//修改订单状态为已卸柜
boxService
.
updateOrderStatusByShipmentIdAndTransportType
(
shipmentId
,
OrderStatusEnum
.
UNLOADED_CABINET
.
getValue
(),
boxService
.
updateOrderStatusByShipmentIdAndTransportType
(
shipmentId
,
OrderStatusEnum
.
UNLOADED_CABINET
.
getValue
(),
OrderStatusMsgEnum
.
UNLOADED_CABINET
.
getInWarehouseState
(),
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
,
""
);
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