Commit cb69a1c0 by xiaoer.li@freemud.com

Merge remote-tracking branch 'remotes/origin/feature/1.9.23_待支付' into develop

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