Commit 074e01b0 by ping.wu

抵价券优惠类型匹配

parent 43629ad9
...@@ -1736,6 +1736,9 @@ public class OrderSdkAdapter { ...@@ -1736,6 +1736,9 @@ public class OrderSdkAdapter {
case 2: case 2:
newOrderAccountType = OldOrderAccountType.BUY_DISCOUNT.getCode(); newOrderAccountType = OldOrderAccountType.BUY_DISCOUNT.getCode();
break; break;
case 3:
newOrderAccountType = OldOrderAccountType.PRICE_DEDUCTION_COUPON.getCode();
break;
case 10: case 10:
newOrderAccountType = OldOrderAccountType.COUPON.getCode(); newOrderAccountType = OldOrderAccountType.COUPON.getCode();
break; break;
......
...@@ -36,6 +36,7 @@ public enum OldOrderAccountType { ...@@ -36,6 +36,7 @@ public enum OldOrderAccountType {
XY_DISCOUNT(104, "x件y折", "XY_DISCOUNT"), XY_DISCOUNT(104, "x件y折", "XY_DISCOUNT"),
FULL_DISTRIBUTION_FEE(1014, "满减配送费", "FULL_DISTRIBUTION_FEE"), FULL_DISTRIBUTION_FEE(1014, "满减配送费", "FULL_DISTRIBUTION_FEE"),
NEW_USER_DISCOUNT(101, "新用户立减", "NEW_USER_DISCOUNT"), NEW_USER_DISCOUNT(101, "新用户立减", "NEW_USER_DISCOUNT"),
PRICE_DEDUCTION_COUPON(103, "抵价券", "PRICE_DEDUCTION_COUPON"),
TOTAL_DISCOUNT(205, "优惠总金额", "TOTAL_DISCOUNT"); TOTAL_DISCOUNT(205, "优惠总金额", "TOTAL_DISCOUNT");
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