Commit 3e0355a2 authored by Administrator's avatar Administrator

Merge branch 'release' into 'jd_dev'

Release

See merge request !30
parents 10568a37 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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment