Commit cbd5d823 by 周晓航

Merge branch 'KA-2.0.41-爱马哥预订单开发-zxh' into qa

parents 379c0f3f 9f061e40
...@@ -39,7 +39,8 @@ public class OrderCheckAdapter { ...@@ -39,7 +39,8 @@ public class OrderCheckAdapter {
return; return;
} }
// 预定单 不校验 下面的预约单 // 预定单 不校验 下面的预约单
if (BizTypeEnum.ADVANCE_ORDER.getBizType().compareTo(vo.getBizType()) == 0) { if (Objects.nonNull(vo.getBizType())
&& BizTypeEnum.ADVANCE_ORDER.getBizType().compareTo(vo.getBizType()) == 0) {
return; return;
} }
StoreResponse.Configuration configuration = storeResponse.getBizVO().getStoreConfig(); StoreResponse.Configuration configuration = storeResponse.getBizVO().getStoreConfig();
......
...@@ -1031,7 +1031,8 @@ public class CheckOrder { ...@@ -1031,7 +1031,8 @@ public class CheckOrder {
userDeliveryInfoDto.getStoreDeliveryInfoDto().setDeliveryType(s); userDeliveryInfoDto.getStoreDeliveryInfoDto().setDeliveryType(s);
// 【ID1030916】订单查询门店获取预计送达时间 并且不是预约单 // 【ID1030916】订单查询门店获取预计送达时间 并且不是预约单
if (StringUtils.isEmpty(createOrderVo.getExpectTime())) { if (StringUtils.isEmpty(createOrderVo.getExpectTime())
&& !this.getIsAdvanceOrder(createOrderVo.getBizType())) {
userDeliveryInfoDto.setEstimateDeliveryCompleteTime(getEstimateDeliveryCompleteTime(receiveAddressResult.getLatitude(), receiveAddressResult.getLongitude(), storeDeliveryInfoDto.getPartnerId(), storeDeliveryInfoDto.getStoreId())); userDeliveryInfoDto.setEstimateDeliveryCompleteTime(getEstimateDeliveryCompleteTime(receiveAddressResult.getLatitude(), receiveAddressResult.getLongitude(), storeDeliveryInfoDto.getPartnerId(), storeDeliveryInfoDto.getStoreId()));
} }
} }
......
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