Merge branch 'hotfix_现货寄存订单发货变更' into test6.9.13
Showing
1 changed file
with
11 additions
and
1 deletions
@@ -105,7 +105,17 @@ public class ShoppingSupport { | @@ -105,7 +105,17 @@ public class ShoppingSupport { | ||
105 | 105 | ||
106 | 106 | ||
107 | private String getDeliveryWayStr(int deliveryWay) { | 107 | private String getDeliveryWayStr(int deliveryWay) { |
108 | - return deliveryWay == DeliveryWayEnum.SELF_FETCH.getCode() ? OrderConstant.DELIVERY_WAY_STORE_NAME : OrderConstant.DELIVERY_WAY_SF_NAME; | 108 | + String deliverWayName; |
109 | + | ||
110 | + if (deliveryWay == DeliveryWayEnum.SELF_FETCH.getCode()){ | ||
111 | + deliverWayName = OrderConstant.DELIVERY_WAY_STORE_NAME; | ||
112 | + }else if(deliveryWay == DeliveryWayEnum.OVERSEAS_HONGHONG.getCode()){ | ||
113 | + //中通国际 TODO 加到model | ||
114 | + deliverWayName = "中通国际"; | ||
115 | + }else{ | ||
116 | + deliverWayName = OrderConstant.DELIVERY_WAY_SF_NAME; | ||
117 | + } | ||
118 | + return deliverWayName; | ||
109 | } | 119 | } |
110 | 120 | ||
111 | 121 |
-
Please register or login to post a comment