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
97d12a98
Commit
97d12a98
authored
Oct 31, 2024
by
yanghao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-fix' into release
parents
a55f1172
07c2dc59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
OrderWarehouseInServiceImpl.java
...service/orderWarehouseIn/OrderWarehouseInServiceImpl.java
+7
-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 @
97d12a98
...
...
@@ -4634,8 +4634,13 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
throw
exception
(
ORDER_HAS_PROCESSING_APPROVAL
,
orderDO
.
getOrderNo
());
}
// 更新前一次打包数据
orderDO
=
this
.
updateOrderSumPrevPacked
(
orderId
);
// 更新前一次打包数据。
// 这里必须要加判断,因为备货完成后再入仓修改后,若这里更新会导致sumWeightPrevPacked和sumWeightFinishedWarehouseIn值一样,
// 导致完成打包时判断的 体积/重量 一直是没有变更的,就会导致重泡货判断业务不正常。
// fix: #624 A2404786GA 麻烦看下这个单,先进仓0.3KG,申请减免泡重,按1KG收取,再进仓0.95KG,没有产生泡重异常,且整个订单都是按1KG收费
if
(
orderDO
.
getSumWeightPrevPacked
()
==
null
&&
orderDO
.
getSumWeightPrevPacked
()
==
null
)
{
orderDO
=
this
.
updateOrderSumPrevPacked
(
orderId
);
}
// 纪录打包历史
savePackLog
(
orderId
,
orderItemId
,
true
);
...
...
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