修改特种纸名片模切价格

This commit is contained in:
2025-10-21 17:27:11 +08:00
parent f3eaf66d56
commit d77e26f423
2 changed files with 5 additions and 5 deletions
@@ -6353,16 +6353,16 @@ public class ProductService {
if ("特种纸名片".equals(dto.getProTypeValue()) && craftList.contains("异形模切") && !craftList.contains("单面烫金") && !craftList.contains("双面烫金")) {// 200-500张按照原有的价格乘以3倍 1000-5000张按照原有的价格乘以2.4倍 5000-10000张按照原有的价格乘以2倍
for (Product product : priceList) {
if (200 <= product.getCount() && product.getCount() <= 500) {
product.setPrice(Math.ceil(product.getPrice() * 1.9));
product.setPrice(Math.ceil(product.getPrice() * 3));
}
if (500 < product.getCount() && product.getCount() <= 1000) {
product.setPrice(Math.ceil(product.getPrice() * 2.3));
product.setPrice(Math.ceil(product.getPrice() * 2.6));
}
if (1000 < product.getCount() && product.getCount() <= 5000) {
product.setPrice(Math.ceil(product.getPrice() * 2.4));
}
if (5000 < product.getCount() && product.getCount() <= 10000) {
product.setPrice(Math.ceil(product.getPrice() * 2.5));
product.setPrice(Math.ceil(product.getPrice() * 2));
}
}
}