Commit ca0f0249 authored by wux's avatar wux

订单更改不更新订单状态

parent 320d418b
......@@ -1356,11 +1356,17 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
}
}
}
//订单修改时不更新订单状态
Integer status=0;
if (finishReqVO.getIsOnlyResetException() && orderDO.getStatus()>5){
status = orderDO.getStatus();
}else{
status = OrderStatusEnum.IN_WAREHOUSE.getValue();
}
// 更新订单状态
Integer result = orderService.updateStatus(orderId,
orderDO.getOrderNo(),
OrderStatusEnum.IN_WAREHOUSE.getValue(),
status,
null,
OrderWarehouseInStatusEnum.warehouse_finished.getValue(),
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