Commit a8462d08 by 周晓航

预定单 不校验 下面的预约单

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 518585f8
......@@ -5,6 +5,7 @@ import cn.freemud.entities.vo.CreateOrderBaseVo;
import cn.freemud.entities.vo.CreateOrderVo;
import cn.freemud.interceptor.ServiceException;
import cn.freemud.utils.AppLogUtil;
import com.freemud.application.sdk.api.ordercenter.enums.BizTypeEnum;
import com.freemud.application.sdk.api.storecenter.response.StoreResponse;
import com.google.common.collect.Lists;
......@@ -37,6 +38,10 @@ public class OrderCheckAdapter {
(!Objects.equals(vo.getTakeMealFlag(), "1"))) {
return;
}
// 预定单 不校验 下面的预约单
if (BizTypeEnum.ADVANCE_ORDER.getBizType().compareTo(vo.getBizType()) == 0) {
return;
}
StoreResponse.Configuration configuration = storeResponse.getBizVO().getStoreConfig();
if(Objects.isNull(configuration)){
//针对老数据没有配置 预约单默认支持,直接返回不校验
......
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