Commit 74ef0cae authored by Smile's avatar Smile

打包环节订单状态设为普货,防止因设置全泡。导致订单状态为抛货状态,会按照抛货收费数据计算。影响渠道免泡重功能。

parent 849457b0
......@@ -5254,7 +5254,8 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
// 该订单已有应收明细正在核销中或已核销,只能无需打包
throw exception(RECEIVABLE_WRITE_OFF_ING_NO_NEED_TO_PACK);
}
// 更新订单类型为普货
orderService.update(new LambdaUpdateWrapper<OrderDO>().set(OrderDO::getOrderType, 1).eq(OrderDO::getOrderId, orderId));
// 更新前一次打包数据
orderDO = this.updateOrderSumPrevPacked(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