Commit cd352773 authored by 332784038@qq.com's avatar 332784038@qq.com

订单修改调用重置异常时处理

parent deb5cd6f
......@@ -1358,11 +1358,12 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
}
// 更新订单状态
// 这里如果订单已经出货,那么执行这里保持订单相关状态不变
Integer result = orderService.updateStatus(orderId,
orderDO.getOrderNo(),
OrderStatusEnum.IN_WAREHOUSE.getValue(),
orderDO.getStatus() > 5 ? orderDO.getStatus() : OrderStatusEnum.IN_WAREHOUSE.getValue(),
null,
OrderWarehouseInStatusEnum.warehouse_finished.getValue(),
orderDO.getStatus() > 5 ? orderDO.getInWarehouseState() : OrderWarehouseInStatusEnum.warehouse_finished.getValue(),
null,
null,
null,
......
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