Commit 8becf982 by xiaoer.li@freemud.com

Merge remote-tracking branch 'remotes/origin/feature/1.9.20_异常单查询'

parents 33a2c878 82032915
...@@ -1882,7 +1882,7 @@ public class OrderSdkAdapter { ...@@ -1882,7 +1882,7 @@ public class OrderSdkAdapter {
return newOrderAfterSalesStatus; return newOrderAfterSalesStatus;
} }
private String getNewOrderTypeDesc(Integer orderType) { public String getNewOrderTypeDesc(Integer orderType) {
String name = ""; String name = "";
//外卖平台订单类型 1=常规堂食,2=预约堂食,3=常规外送,4=预约外送,5=常规自取,6=预约自取 //外卖平台订单类型 1=常规堂食,2=预约堂食,3=常规外送,4=预约外送,5=常规自取,6=预约自取
switch (orderType) { switch (orderType) {
...@@ -1911,7 +1911,7 @@ public class OrderSdkAdapter { ...@@ -1911,7 +1911,7 @@ public class OrderSdkAdapter {
} }
private String getNewOrderStatusDesc(Integer orderStatus) { public String getNewOrderStatusDesc(Integer orderStatus) {
String name = ""; String name = "";
//新订单服务 订单状态 1:待支付 2:下单 3:已接单 4:制作完成(待发货) 5:配送中 6:已完 7:已关闭 //新订单服务 订单状态 1:待支付 2:下单 3:已接单 4:制作完成(待发货) 5:配送中 6:已完 7:已关闭
switch (orderStatus) { switch (orderStatus) {
...@@ -2873,4 +2873,31 @@ public class OrderSdkAdapter { ...@@ -2873,4 +2873,31 @@ public class OrderSdkAdapter {
} }
} }
/**
* 异常单转换
* @param abnormalState
* @return
*/
public String getAbnormalName(Integer abnormalState) {
String name = "";
switch (abnormalState) {
case 0: {
name = "正常";
break;
}
case 1: {
name ="系统接单异常";
break;
}
case 2: {
name="骑手上报异常";
break;
}
case 3: {
name ="系统退单异常";
break;
}
}
return name;
}
} }
...@@ -110,5 +110,8 @@ public class OrderConditionsReq { ...@@ -110,5 +110,8 @@ public class OrderConditionsReq {
private List<String> externalObjectIds; private List<String> externalObjectIds;
// 外部对象ID 如:活动类型 // 外部对象ID 如:活动类型
private List<Integer> settlementTypes; private List<Integer> settlementTypes;
//异常单状态
private List<Integer> abnormalStatuses;
} }
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