...
|
...
|
@@ -145,7 +145,7 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
|
throw new ServiceException(ServiceError.ORDER_NULL);
|
|
|
}
|
|
|
Integer orderStatus = buyerOrder.getStatus();
|
|
|
if ( orderStatus != targetOrderStatus.getCode()){
|
|
|
if ( orderStatus != expectOrderStatus.getCode()){
|
|
|
LOGGER.warn("deliverToDepot order status changed , orderCode {} orderStatus {}", orderCode, orderStatus);
|
|
|
throw new UfoServiceException(400, "订单状态已变更,不能发货");
|
|
|
}
|
...
|
...
|
|