Commit 2e0b8d10 by 周晓航

自提单 不走配送计算逻辑

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent dc5fe109
......@@ -327,6 +327,10 @@ public class DeliveryHandle {
* @return true 自配送
*/
public boolean deliveryTypeSelf(String deliveryType){
// 防止 自提 堂食 订单 发配送
if (Objects.isNull(deliveryType)) {
return true;
}
return delivery_type_self.equalsIgnoreCase(deliveryType);
}
}
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