Commit c7104f76 by xiaoer.li@freemud.com

fixbug

parent 7076d46b
......@@ -235,7 +235,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