修改静电贴价格

This commit is contained in:
2025-08-11 17:34:05 +08:00
parent d60df8d3e2
commit 47b15d5eef
@@ -207,7 +207,7 @@ public class PosterPrice {
case "8": case "8":
// 根据面积得到单价 // 根据面积得到单价
areas = new double[]{1, 2, 5, 10}; areas = new double[]{1, 2, 5, 10};
prices = new double[]{70, 68, 65, 63}; prices = new double[]{80, 68, 65, 63};
last_price = 60; last_price = 60;
min_price += 50; min_price += 50;
break; break;
@@ -311,9 +311,9 @@ public class PosterPrice {
if (width * length < 40 * 50) { if (width * length < 40 * 50) {
area_jis = area_jis * number; area_jis = area_jis * number;
} }
if ("8".equals(kind2) && width * length < 40 * 50) { // if ("8".equals(kind2) && width * length < 40 * 50) {
price = new PriceUtils().getTestPrice(length, width, count, number, areas, prices, min_price, last_price); // price = new PriceUtils().getTestPrice(length, width, count, number, areas, prices, min_price, last_price);
} else { // } else {
danjia = last_price; danjia = last_price;
for (int i = 0; i < areas.length; i++) { for (int i = 0; i < areas.length; i++) {
if (area <= areas[i]) { if (area <= areas[i]) {
@@ -322,7 +322,7 @@ public class PosterPrice {
} }
} }
price = Math.max(area_jis * danjia, min_price); price = Math.max(area_jis * danjia, min_price);
} // }
} }
Product pro = new Product(); Product pro = new Product();