Commit 0cfb5a06 by 张明警

添加小费字段

parent 59d307cb
......@@ -579,6 +579,8 @@ public class OrderSdkAdapter {
}
if (orderCostResp.getCostType() == 5) {
accountBean.setType(OldOrderAccountType.CARD_ORIGINAL_AMOUNT.getCode());
}if (orderCostResp.getCostType() == 7) {
accountBean.setType(OldOrderAccountType.DRIVER_FEE.getCode());
}
accountBean.setAddInfo("");
accountList.add(accountBean);
......
......@@ -22,6 +22,7 @@ public enum OldOrderAccountType {
COUPON(5, "代金券", "COUPON"),
PRODUCT_COUPON(6, "商品券", "PRODUCT_COUPON"),
DISCOUNT_COUPON(7, "折扣券", "DISCOUNT_COUPON"),
DRIVER_FEE(7, "骑手小费", "DRIVER_FEE"),
DISCOUNT_AMOUNT(21, "限时折扣", "DISCOUNT_AMOUNT"),
PREMIUM_EXCHANGE(22, "加价购", "PREMIUM_EXCHANGE"),
SECOND_DISCOUNT(23, "第二件N折", "SECOND_DISCOUNT"),
......
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