Commit 7d1d134e by 徐康

预计送达时间使用b端配置

parent 4f60f11d
......@@ -164,7 +164,7 @@ public class DeliveryAdapter {
}else {
deliveryOrderRequestDto.setIsImmediateDelivery(1);
String expectDeliveryTimeByUTC = order.getGmtCreate() !=null ?
simpleDateFormat.format(DateUtil.addHours(DateUtil.addMinutes(new Date(order.getGmtCreate()),30), -8)) :null;
simpleDateFormat.format(DateUtil.addHours(DateUtil.addMinutes(new Date(order.getGmtCreate()),storeInfo.getBizVO().getServiceTime()), -8)) :null;
deliveryOrderRequestDto.setExpectDeliveryTimeByUTC(expectDeliveryTimeByUTC);
}
//---麦咖啡餐道专用---
......
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