Commit 82032915 by xiaoer.li@freemud.com

放开常用方法访问修饰符

parent e7abbb79
......@@ -1833,7 +1833,7 @@ public class OrderSdkAdapter {
return newOrderAfterSalesStatus;
}
private String getNewOrderTypeDesc(Integer orderType) {
public String getNewOrderTypeDesc(Integer orderType) {
String name = "";
//外卖平台订单类型 1=常规堂食,2=预约堂食,3=常规外送,4=预约外送,5=常规自取,6=预约自取
switch (orderType) {
......@@ -1862,7 +1862,7 @@ public class OrderSdkAdapter {
}
private String getNewOrderStatusDesc(Integer orderStatus) {
public String getNewOrderStatusDesc(Integer orderStatus) {
String name = "";
//新订单服务 订单状态 1:待支付 2:下单 3:已接单 4:制作完成(待发货) 5:配送中 6:已完 7:已关闭
switch (orderStatus) {
......@@ -2819,4 +2819,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;
}
}
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