Commit 3d4dd98c by 徐康

Merge remote-tracking branch 'origin/qa' into qa

parents e02932d5 63c01117
......@@ -1216,6 +1216,7 @@ public class OrderAdapter {
responseVo.setCustomerScorePrompt(customerScorePrompt);
//优惠总金额=优惠券金额+满减金额+限时折扣金额
responseVo.setDiscountTotalAmount(discountTotalAmount);
responseVo.setDownstreamThirdOrderCode(ordersBean.getDownstreamThirdOrderCode());
responseVo.setEnableRefund(false);
if (OrderStatus.TAKE_ORDER.getCode().equals(ordersBean.getStatus()) && PayStatus.HAVE_PAID.getCode().equals(ordersBean.getPayStatus())) {
responseVo.setEnableRefund(true);
......@@ -1607,7 +1608,8 @@ public class OrderAdapter {
} else {
if (DeliverStatus.WATINGORDER.getCode().equals(orderBean.getDeliverStatus()) || DeliverStatus.SYSTEMGETORDER.getCode().equals(orderBean.getDeliverStatus())
|| DeliverStatus.ALLOTRIDER.getCode().equals(orderBean.getDeliverStatus())
|| DeliverStatus.RIDERARRIVESTORE.getCode().equals(orderBean.getDeliverStatus())) {
|| DeliverStatus.RIDERARRIVESTORE.getCode().equals(orderBean.getDeliverStatus())
|| DeliverStatus.DELIVERYCOLLECT.getCode().equals(orderBean.getDeliverStatus())) {
orderViewStatusDto.setOrderStatus(OrderViewStatus.RIDERDELIVERY.getCode());
orderViewStatusDto.setOrderStatusDesc("骑手取餐中");
orderViewStatusDto.setOrderStatusDescText("请稍等片刻,美味即将到达哦~");
......
......@@ -352,6 +352,11 @@ public class QueryOrderResponseVo {
*/
private Integer bizType;
/**
* 麦咖啡餐道订单号
*/
private String downstreamThirdOrderCode;
@Data
public static class OrderStatusFlow {
/**
......
......@@ -24,7 +24,9 @@ public enum DeliverStatus {
RIDERSTARTDELIVERY(5,"开始配送"),
DELIVERYARRIVED(6,"运单送达"),
DELIVERYERROR(7,"运单异常"),
DELIVERYCANCEL(8,"运单取消");
DELIVERYCANCEL(8,"运单取消"),
//麦咖啡专用 运单汇集
DELIVERYCOLLECT(99,"运单汇集");
private Integer code;
private String desc;
......
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