Commit 836f3f5c by 张洪旺

Merge branch 'feature/20201119-mixue-zhw' of…

Merge branch 'feature/20201119-mixue-zhw' of gitlab.freemud.com:order-group-application/order-group into qa
parents 3d995e68 011f748a
...@@ -947,6 +947,11 @@ public class OrderAdapter { ...@@ -947,6 +947,11 @@ public class OrderAdapter {
if (QueryOrderStatus.ORDER_CANCEL.getCode().equals(queryOrderDto.getQueryOrderStatus())) { if (QueryOrderStatus.ORDER_CANCEL.getCode().equals(queryOrderDto.getQueryOrderStatus())) {
queryOrdersDto.setStatus(new Integer[]{OrderStatus.CALCEL.getCode()}); queryOrdersDto.setStatus(new Integer[]{OrderStatus.CALCEL.getCode()});
} }
if (QueryOrderStatus.ORDER_CANCEL_MIXUE.getCode().equals(queryOrderDto.getQueryOrderStatus())) {
queryOrdersDto.setStatus(new Integer[]{OrderStatus.CALCEL.getCode()});
queryOrdersDto.setPayStatus(new Integer[]{PayStatus.NOT_PAY.getCode()});
}
} }
// 兼容历史版本,如果传参是4 查询拆程4和5 // 兼容历史版本,如果传参是4 查询拆程4和5
......
...@@ -31,7 +31,7 @@ public class QueryOrderVo { ...@@ -31,7 +31,7 @@ public class QueryOrderVo {
@ApiModelProperty(value = "订单编号") @ApiModelProperty(value = "订单编号")
private String oid; private String oid;
/** /**
* 订单状态 enum queryOrderStatus 全部订单 1 待取餐 2 已完成 3 全部 4.退款,5 待支付 ,6 已取消 * 订单状态 enum queryOrderStatus 全部订单 1 待取餐 2 已完成 3 全部 4.退款,5 待支付 ,6 已取消 7未支付取消
*/ */
private Integer queryOrderStatus; private Integer queryOrderStatus;
/** /**
......
...@@ -20,7 +20,10 @@ public enum QueryOrderStatus { ...@@ -20,7 +20,10 @@ public enum QueryOrderStatus {
ALL_BILL(3, "全部"), ALL_BILL(3, "全部"),
REFUND_BILL(4, "退款"), REFUND_BILL(4, "退款"),
NO_PAY(5, "待支付"), NO_PAY(5, "待支付"),
ORDER_CANCEL(6, "已取消"); ORDER_CANCEL(6, "已取消"),
//密雪
ORDER_CANCEL_MIXUE(7, "未支付已取消");
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