Commit 5408865b by 胡超

Merge remote-tracking branch 'origin/master'

parents f0c3453f 3c696d61
...@@ -835,6 +835,9 @@ public class OrderAdapter { ...@@ -835,6 +835,9 @@ public class OrderAdapter {
Integer[] statuses = new Integer[]{RefundStatus.APPLY_REFUND.getCode(), RefundStatus.AGREE_REFUND.getCode(), RefundStatus.COMPLETE_REFUND.getCode()}; Integer[] statuses = new Integer[]{RefundStatus.APPLY_REFUND.getCode(), RefundStatus.AGREE_REFUND.getCode(), RefundStatus.COMPLETE_REFUND.getCode()};
queryOrdersDto.setRefundStatus(statuses); queryOrdersDto.setRefundStatus(statuses);
} }
if (QueryOrderStatus.NO_PAY.getCode().equals(queryOrderDto.getQueryOrderStatus())) {
queryOrdersDto.setPayStatus(new Integer[]{PayStatus.NOT_PAY.getCode()});
}
} }
// 兼容历史版本,如果传参是4 查询拆程4和5 // 兼容历史版本,如果传参是4 查询拆程4和5
......
...@@ -34,7 +34,7 @@ public class QueryOrderVo { ...@@ -34,7 +34,7 @@ public class QueryOrderVo {
*/ */
private String oid; private String oid;
/** /**
* 订单状态 enum queryOrderStatus 全部订单 1 待取餐 2 已完成 3 全部 4.退款 * 订单状态 enum queryOrderStatus 全部订单 1 待取餐 2 已完成 3 全部 4.退款,5 待支付
*/ */
private Integer queryOrderStatus; private Integer queryOrderStatus;
/** /**
......
...@@ -18,7 +18,8 @@ public enum QueryOrderStatus { ...@@ -18,7 +18,8 @@ public enum QueryOrderStatus {
TAKE_MEAL(1, "待取餐"), TAKE_MEAL(1, "待取餐"),
FINISH(2, "已完成"), FINISH(2, "已完成"),
ALL_BILL(3, "全部"), ALL_BILL(3, "全部"),
REFUND_BILL(4, "退款"); REFUND_BILL(4, "退款"),
NO_PAY(5, "待支付");
private Integer code; private Integer code;
......
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