Authored by wangnan

fix

... ... @@ -132,7 +132,7 @@ public class PromotionPriceService {
isPromotionPriceActive = true;
}
if ("Degressdiscount".equals(promotionTag.get("type"))) {
if (actionParamJson.get("degress_discount_list") == null||salesPrice==null) {
if (actionParamJson.get("degress_discount_list") == null||currentSalesPrice==null) {
continue;
}
String degressDiscountList = actionParamJson.get("degress_discount_list").toString();
... ... @@ -145,7 +145,7 @@ public class PromotionPriceService {
continue;
}
Double discount = Double.valueOf(one[1]);
currentSalesPrice = salesPrice * discount;
currentSalesPrice = currentSalesPrice * discount;
if (currentSalesPrice != null) {
isPromotionPriceActive = true;
}
... ...