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
339dd20b
Commit
339dd20b
authored
Jan 03, 2025
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单修改审批通过后处理如此异常的业务bug修复
parent
3041106b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
OrderWarehouseInServiceImpl.java
...service/orderWarehouseIn/OrderWarehouseInServiceImpl.java
+4
-4
OrderWarehouseInFinishReqVO.java
...rder/vo/orderWarehouseIn/OrderWarehouseInFinishReqVO.java
+2
-2
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderWarehouseIn/OrderWarehouseInServiceImpl.java
View file @
339dd20b
...
...
@@ -1113,8 +1113,8 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
finishReqVO
.
setSendMsg
(
false
);
//不需要纪录操作日志
finishReqVO
.
setIsAddOrderOperateLog
(
false
);
//
不需要重订价格
finishReqVO
.
setIs
ResetPrice
(
fals
e
);
//
仅重置入仓异常信息
finishReqVO
.
setIs
OnlyResetException
(
tru
e
);
this
.
finishWarehouseIn
(
finishReqVO
);
}
...
...
@@ -1160,7 +1160,7 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
// 退场入仓不校验这些、拆单入仓不校验
boolean
isNotRollbackIn
=
Boolean
.
FALSE
.
equals
(
finishReqVO
.
getIsRollbackIn
());
if
(
isNotRollbackIn
&&
!
finishReqVO
.
getIsSplitIn
())
{
if
(
isNotRollbackIn
&&
!
finishReqVO
.
getIsSplitIn
()
&&
!
finishReqVO
.
getIsOnlyResetException
()
)
{
// 订单排单校验
applicationContext
.
publishEvent
(
new
BoxCheckOrderSchedulingEvent
(
orderId
));
...
...
@@ -1344,7 +1344,7 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
// 重新调用计算订单价格, 订单信息和订单项信息需要重新查询,
// 可能创建异常和修改订单已经对订单信息造成改变
boolean
firstRucang
=
orderDO
.
getRucangTime
()
==
null
;
if
(
finishReqVO
.
getIsResetPrice
())
{
if
(
!
finishReqVO
.
getIsOnlyResetException
())
{
// 默认执行计价业务,可以手动确认不执行计价业务
if
(
firstRucang
)
{
//在下面的函数中完成费用计算
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/orderWarehouseIn/OrderWarehouseInFinishReqVO.java
View file @
339dd20b
...
...
@@ -107,8 +107,8 @@ public class OrderWarehouseInFinishReqVO {
private
Boolean
isAddOrderOperateLog
=
true
;
//是否
需要重订价
//是否
只单独重置异常
@Transient
private
Boolean
is
ResetPrice
=
tru
e
;
private
Boolean
is
OnlyResetException
=
fals
e
;
}
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