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
58935534
Commit
58935534
authored
Jan 15, 2025
by
knight
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求38 预装-未装柜完成或出仓完成的订单修改货值
parent
ae3d0bb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
OrderServiceImpl.java
...dao/module/order/service/order/impl/OrderServiceImpl.java
+6
-4
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderServiceImpl.java
View file @
58935534
...
...
@@ -1828,7 +1828,8 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
if
(
approvalTypeCheckEvent
.
getResult
())
{
throw
exception
(
ORDER_IS_APPROVAL_IN_PROCESS
);
}
if
(
vo
.
getShipmentState
()
>
0
)
{
// 2025年1月15日 增加订单修改货值功能,预装后可单独修改货值
if
(
vo
.
getShipmentState
()
>
0
&&
vo
.
getShipmentState
()
!=
304
)
{
throw
exception
(
ORDER_SHIPMENT_NOT_UPDATE
);
}
// 获取功能开关
...
...
@@ -1914,15 +1915,16 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
* 海运订单、拆单子单已装柜/空运已出货,订单信息修改,不需要更新价格
*/
// 海运订单预装未装柜/空运订单分拣未出货, 锁定订单信息无法修改 exclude(scope.row.shipmentState, [305, 307, 309, 310, 311, 313, 407,409])
// 2025年1月15日 增加货值修改功能,开放预装时修改订单货值307(已预装)、407(空运分拣)、409(空运理货)
if
((
vo
.
getStatus
()
!=
16
&&
vo
.
getShipmentState
()
==
0
)
||
vo
.
getShipmentState
()
==
305
||
vo
.
getShipmentState
()
==
307
//
|| vo.getShipmentState() == 307
||
vo
.
getShipmentState
()
==
309
||
vo
.
getShipmentState
()
==
310
||
vo
.
getShipmentState
()
==
311
||
vo
.
getShipmentState
()
==
313
||
vo
.
getShipmentState
()
==
407
||
vo
.
getShipmentState
()
==
409
//
|| vo.getShipmentState() == 407
//
|| vo.getShipmentState() == 409
||
vo
.
getShipmentState
()
==
411
)
{
if
(
vo
.
getTransportId
()
==
TransportTypeShortEnum
.
SEA_CONTAINER
.
getValue
())
{
throw
exception
(
ORDER_PRE_INSTALLATION_UNPACKAGED_CONTAINER_NOT_UPDATE
);
...
...
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