添加特种纸压痕工艺,数码刮刮卡膜尺寸

This commit is contained in:
2025-06-25 08:39:53 +08:00
parent e178b27aa2
commit 0d53424a0d
3 changed files with 34 additions and 7 deletions
@@ -2887,7 +2887,17 @@ public class ProductService {
price = fixPrice + (num - 1) * zhang + designFee + cutFee;
}
if ("刮刮卡".equals(dto.getKind())) {
price = price + 0.2 * count * number;
List<String> size1 = new ArrayList();
size1.add("70*50");
size1.add("35*58");
size1.add("41*72");
size1.add("60*25");
size1.add("15*48");
double sizePrice = 0.2 * count * number;
if (size1.contains(dto.getSize1())) {
sizePrice = Math.max(sizePrice, 5);
}
price = price + sizePrice;
}
Product dto2 = new Product();
dto2.setCount(count);