Commit 7e6a3fe8 by 张洪旺

fix

parent 9b1328d2
...@@ -1784,7 +1784,7 @@ public class OrderServiceImpl implements Orderservice { ...@@ -1784,7 +1784,7 @@ public class OrderServiceImpl implements Orderservice {
} }
OrderBean orderBean = orderByIdResponseDto.getData(); OrderBean orderBean = orderByIdResponseDto.getData();
// todo coco 商户校验 // todo coco 商户校验
if (partnerId.equals(orderByIdResponseDto.getData().getCompanyId())) { if (cocoPartnerId.contains(orderByIdResponseDto.getData().getCompanyId())) {
// COCO 即时单不可取消 // COCO 即时单不可取消
if ( NewOrderType.GENERAL_SELF_PICKUP.getCode().equals(queryOrderByIdResponse.getData().getNewOrderType())) { if ( NewOrderType.GENERAL_SELF_PICKUP.getCode().equals(queryOrderByIdResponse.getData().getNewOrderType())) {
return ResponseUtil.error(ResponseResult.ORDER_CANCEL_ERROR); return ResponseUtil.error(ResponseResult.ORDER_CANCEL_ERROR);
......
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