Commit 05fd6b11 by 徐康

创建配送单参数修改

parent 879b66bf
...@@ -140,8 +140,10 @@ public class DeliveryAdapter { ...@@ -140,8 +140,10 @@ public class DeliveryAdapter {
// 预约单预计送到时间 // 预约单预计送到时间
if (order.getGmtExpect() != null && order.getGmtExpect() != 0) { if (order.getGmtExpect() != null && order.getGmtExpect() != 0) {
deliveryOrderRequestDto.setExpectTime(new Date(order.getGmtExpect())); deliveryOrderRequestDto.setExpectTime(new Date(order.getGmtExpect()));
deliveryOrderRequestDto.setIsPre(1);
} else {
deliveryOrderRequestDto.setIsPre(0);
} }
deliveryOrderRequestDto.setIsPre(order.getType() == OrderType.PRE_ORDER.getCode() ? 1 : 0);
//---麦咖啡餐道专用--- //---麦咖啡餐道专用---
deliveryOrderRequestDto.setDisplayOrderId(displayOrderId); deliveryOrderRequestDto.setDisplayOrderId(displayOrderId);
......
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