修改特种纸名片模切价格

이 커밋은 다음에 포함됨:
2026-05-30 10:20:30 +08:00
부모 0c51492dc6
커밋 62dfd679b0
+1 -1
파일 보기
@@ -8489,7 +8489,7 @@ public class ProductService {
product.setPrice(Math.ceil(product.getPrice() + (0.05 * product.getCount() > 50 ? 0.05 * product.getCount() : 50))); product.setPrice(Math.ceil(product.getPrice() + (0.05 * product.getCount() > 50 ? 0.05 * product.getCount() : 50)));
} }
} }
if ("特种纸名片".equals(dto.getProTypeValue()) && craftList.contains("异形模切") && !craftList.contains("单面烫金") && !craftList.contains("双面烫金")) {// 200-500张按照原有的价格乘以3倍 1000-5000张按照原有的价格乘以2.4倍 5000-10000张按照原有的价格乘以2倍 if ("特种纸名片".equals(dto.getProTypeValue()) && craftList.contains("异形模切")) {// 200-500张按照原有的价格乘以3倍 1000-5000张按照原有的价格乘以2.4倍 5000-10000张按照原有的价格乘以2倍
double[] prices = {140, 190, 260, 470, 690, 1110, 2190}; double[] prices = {140, 190, 260, 470, 690, 1110, 2190};
int[] counts = {200, 500, 1000, 2000, 3000, 5000, 10000}; int[] counts = {200, 500, 1000, 2000, 3000, 5000, 10000};
int num = getNum(width, length); int num = getNum(width, length);