修改袋子价格

This commit is contained in:
2025-08-21 09:49:59 +08:00
parent 087cba6504
commit 20aa475290
@@ -4693,7 +4693,7 @@ public class ProductService {
for (Product product : priceList) { for (Product product : priceList) {
product.setWeight(df.format(width / 100 * length / 100 * product.getCount() * 0.48 * 1.4)); product.setWeight(df.format(width / 100 * length / 100 * product.getCount() * 0.48 * 1.4));
if (carftList.contains("装opp袋")) { if (carftList.contains("装opp袋")) {
product.setPrice(Math.ceil(product.getPrice() + product.getCount() * 0.33)); product.setPrice(Math.ceil(product.getPrice() + product.getCount() * dto.getNumber() * 0.33));
} }
} }
return priceList; return priceList;