Commit 7a463f2b by xiaoer.li@freemud.com

fix:眼瞎

parent 6d9a259b
......@@ -892,7 +892,7 @@ public class CheckOrder {
if (!userDeliveryInfoDto.getUserEnableTakeaway()) {
throw new ServiceException(ResponseResult.ORDER_TAKE_OUT_ADDRESS_NOT_DELIVERY);
}
if (BusinessTypeEnum.SAAS_DELIVERY.getCode().equals(createOrderVo.getOrderType())) {
if (BusinessTypeEnum.SAAS_DELIVERY.getCode().equals(createOrderVo.getMenuType())) {
String s = this.checkDeliveryType(createOrderVo, storeCode, trackingNo);
userDeliveryInfoDto.getStoreDeliveryInfoDto().setDeliveryType(s);
}
......
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