|
@@ -342,7 +342,7 @@ public class OrderLogic {
|
|
|
AdminUserCom adminUser = commonLogic.getAdminUser();
|
|
AdminUserCom adminUser = commonLogic.getAdminUser();
|
|
|
OrderInfo orderInfo = orderInfoService.getById(orderId);
|
|
OrderInfo orderInfo = orderInfoService.getById(orderId);
|
|
|
|
|
|
|
|
- if(!OrderStatusEnum.cancelOrderContains(orderInfo.getOrderStatus())) {
|
|
|
|
|
|
|
+ if(OrderStatusEnum.cancelOrderContains(orderInfo.getOrderStatus())) {
|
|
|
throw new RemoteServiceException("订单当前状态不可取消");
|
|
throw new RemoteServiceException("订单当前状态不可取消");
|
|
|
}
|
|
}
|
|
|
|
|
|