Commit 295f1a84 authored by yanghao's avatar yanghao

fix: 退仓后将整个订单类型重置为普货,后面在完成入仓/完成备货时会计算最新的订单类型。

parent f6c0e14e
......@@ -4523,6 +4523,9 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
.set(OrderDO::getSumQuantityAllPrevPacked, null)
.eq(OrderDO::getOrderId, orderId));
// 更新订单为普货
orderService.updateOrderType(orderId, 1);
// 更新订单入仓信息
OrderWarehouseInVO orderWarehouseInVO = new OrderWarehouseInVO();
orderWarehouseInVO.setOrderId(orderId);
......
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