|
@@ -1194,7 +1194,9 @@ public class CartClubServiceImpl implements CartClubService {
|
|
|
shop.setIsColdChina(false);
|
|
|
}
|
|
|
// 运费
|
|
|
- shop.setPostage(MathUtil.sub(shop.getPostage(), 0 == shop.getPostage() ? 0 : coldChain).doubleValue());
|
|
|
+ // 包邮或者到付 冷链费为 0
|
|
|
+ coldChain = 0 == shop.getPostage() ? 0 : coldChain;
|
|
|
+ shop.setPostage(MathUtil.sub(shop.getPostage(), coldChain).doubleValue());
|
|
|
log.info("shop.getPostage()******"+shop.getPostage());
|
|
|
// 供应商总金额
|
|
|
shopPrice.set(MathUtil.add(MathUtil.add(shopPrice.get(), shop.getPostage()),coldChain).doubleValue());
|
|
@@ -1672,7 +1674,9 @@ public class CartClubServiceImpl implements CartClubService {
|
|
|
}
|
|
|
}*/
|
|
|
// 总运费
|
|
|
- shop.setPostage(MathUtil.sub(shop.getPostage(), 0 == shop.getPostage() ? 0 : coldChain).doubleValue());
|
|
|
+ // 包邮或者到付 冷链费为 0
|
|
|
+ coldChain = 0 == shop.getPostage() ? 0 : coldChain;
|
|
|
+ shop.setPostage(MathUtil.sub(shop.getPostage(), coldChain).doubleValue());
|
|
|
// 供应商总金额
|
|
|
shopPrice.set(MathUtil.add(MathUtil.add(shopPrice.get(), shop.getPostage()),coldChain).doubleValue());
|
|
|
if (shopKindCount.get() > 0) {
|
|
@@ -2071,7 +2075,9 @@ public class CartClubServiceImpl implements CartClubService {
|
|
|
}
|
|
|
}*/
|
|
|
// 总运费
|
|
|
- shop.setPostage(MathUtil.sub(shop.getPostage(), 0 == shop.getPostage() ? 0 : coldChain).doubleValue());
|
|
|
+ // 包邮或者到付 冷链费为 0
|
|
|
+ coldChain = 0 == shop.getPostage() ? 0 : coldChain;
|
|
|
+ shop.setPostage(MathUtil.sub(shop.getPostage(), coldChain).doubleValue());
|
|
|
// 供应商总金额
|
|
|
totalPrice.set(MathUtil.add(MathUtil.add(totalPrice.get(), shop.getPostage()), coldChain).doubleValue());
|
|
|
// 商品总金额累加
|