Commit 0504fcef by xiaoer.li@freemud.com

Merge remote-tracking branch 'remotes/origin/feature/1.9.30_门店起送规则' into qa

parents 58541d0a c7104f76
......@@ -241,7 +241,7 @@ public class CheckOrder {
}
//todo : 这里不再支持从表中获取门店配送信息 改用接口方式调用
//外卖起送条件(1:杯数,2:金额)
if (!Arrays.asList(1L, 2L).contains(storeDeliveryInfoDto.getDeliveryCondition())) {
if (!Arrays.asList(1, 2).contains(storeDeliveryInfoDto.getDeliveryCondition())) {
throw new ServiceException(ResponseResult.STORE_DISCONTENT_DELIVERY_CONDITION);
}
if ("1".equals(storeDeliveryInfoDto)) {
......
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