Commit 068cee14 by 张洪旺

fix coco商户配置

parent 0f778cde
...@@ -1801,7 +1801,7 @@ public class OrderServiceImpl implements Orderservice { ...@@ -1801,7 +1801,7 @@ public class OrderServiceImpl implements Orderservice {
} }
// todo coco 商户校验 // todo coco 商户校验
if (cocoPartnerId.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