Commit 8a117089 by 周晓航

新增创建订单 基于 门店号的分发

parent b336069c
......@@ -117,8 +117,9 @@ public class OrderAdapterServiceImpl implements OrderAdapterService {
if (assortmentCustomerInfoVo == null || StringUtils.isEmpty(assortmentCustomerInfoVo.getMemberId())) {
return ResponseUtil.error(ResponseResult.NOT_LOGIN);
}
// 用于测试 新创建订单接口
if (!partnerIds.isEmpty() && partnerIds.contains(assortmentCustomerInfoVo.getPartnerId())
// 用于测试 新创建订单接口 不是围餐, 并且 商户号 门店号都在配置里面
if (!"wc".equals(createOrderVo.getChannelType()) &&
!partnerIds.isEmpty() && partnerIds.contains(assortmentCustomerInfoVo.getPartnerId())
&& !storeIds.isEmpty() && storeIds.contains(assortmentCustomerInfoVo.getStoreId())) {
return this.createOrderUniversal(com.freemud.application.sdk.api.util.MapUtils.java2Map(createOrderVo));
}
......
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