Commit fa10c539 by ping.wu

配送费为0不限制

parent 9ff38295
...@@ -315,9 +315,9 @@ public class CalculationServiceImpl { ...@@ -315,9 +315,9 @@ public class CalculationServiceImpl {
if (storeInfo == null || storeInfo.getStatusCode() != 100 || storeInfo.getBizVO() == null) { if (storeInfo == null || storeInfo.getStatusCode() != 100 || storeInfo.getBizVO() == null) {
throw new ServiceException(ResponseResult.STORE_ITEM_NOT_DELIVERY); throw new ServiceException(ResponseResult.STORE_ITEM_NOT_DELIVERY);
} }
if (storeInfo.getBizVO().getDeliveryPrice() == 0) { // if (storeInfo.getBizVO().getDeliveryPrice() == 0) {
throw new ServiceException(ResponseResult.STORE_DELIVERY_AMOUNT_ERROR); // throw new ServiceException(ResponseResult.STORE_DELIVERY_AMOUNT_ERROR);
} // }
Double deliveryPrice = storeInfo.getBizVO().getDeliveryPrice()*100; Double deliveryPrice = storeInfo.getBizVO().getDeliveryPrice()*100;
deliveryAmount = deliveryPrice.longValue(); deliveryAmount = deliveryPrice.longValue();
return deliveryAmount; return deliveryAmount;
......
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