Showing
1 changed file
with
1 additions
and
1 deletions
@@ -145,7 +145,7 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { | @@ -145,7 +145,7 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { | ||
145 | throw new ServiceException(ServiceError.ORDER_NULL); | 145 | throw new ServiceException(ServiceError.ORDER_NULL); |
146 | } | 146 | } |
147 | Integer orderStatus = buyerOrder.getStatus(); | 147 | Integer orderStatus = buyerOrder.getStatus(); |
148 | - if ( orderStatus != targetOrderStatus.getCode()){ | 148 | + if ( orderStatus != expectOrderStatus.getCode()){ |
149 | LOGGER.warn("deliverToDepot order status changed , orderCode {} orderStatus {}", orderCode, orderStatus); | 149 | LOGGER.warn("deliverToDepot order status changed , orderCode {} orderStatus {}", orderCode, orderStatus); |
150 | throw new UfoServiceException(400, "订单状态已变更,不能发货"); | 150 | throw new UfoServiceException(400, "订单状态已变更,不能发货"); |
151 | } | 151 | } |
-
Please register or login to post a comment