修改压痕工艺价格

This commit is contained in:
2025-11-12 09:21:16 +08:00
vanhempi fc23b9d62e
commit f2bd6f368c
@@ -6212,7 +6212,7 @@ public class ProductService {
} }
if (craftList.contains("压痕")) { if (craftList.contains("压痕")) {
for (Product product : priceList) { for (Product product : priceList) {
product.setPrice(Math.ceil(product.getPrice() + (0.03 * product.getCount() > 30 ? 0.03 * product.getCount() : 30))); product.setPrice(Math.ceil(product.getPrice() + Math.max(0.03 * product.getCount(), 20)));
} }
} }
if (craftList.contains("压点线")) { if (craftList.contains("压点线")) {