Commit 8e60baaa authored by wux's avatar wux

订单更改不更新订单状态

parent 69bdb2a6
...@@ -1356,11 +1356,17 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI ...@@ -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, Integer result = orderService.updateStatus(orderId,
orderDO.getOrderNo(), orderDO.getOrderNo(),
OrderStatusEnum.IN_WAREHOUSE.getValue(), status,
null, null,
OrderWarehouseInStatusEnum.warehouse_finished.getValue(), OrderWarehouseInStatusEnum.warehouse_finished.getValue(),
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