修改海报价格,特种纸bug
This commit is contained in:
@@ -3242,18 +3242,18 @@ public class PriceUtils {
|
||||
|
||||
}
|
||||
|
||||
// if (width * length < 40 * 50) {
|
||||
// price = new PriceUtils().getTestPrice(length, width, count, number, areas, prices, min_price, last_price);
|
||||
// } else {
|
||||
dj = last_price;
|
||||
for (int i = 0; i < areas.length; i++) {
|
||||
if (area <= areas[i]) {
|
||||
dj = prices[i];
|
||||
break;
|
||||
if (width * length < 40 * 50) {
|
||||
price = new PriceUtils().getTestPrice(length, width, count, number, areas, prices, min_price, last_price);
|
||||
} else {
|
||||
dj = last_price;
|
||||
for (int i = 0; i < areas.length; i++) {
|
||||
if (area <= areas[i]) {
|
||||
dj = prices[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
price = Math.max(area * dj, min_price);
|
||||
}
|
||||
price = Math.max(area * dj, min_price);
|
||||
// }
|
||||
|
||||
if (number > 1 && width * length >= 40 * 50) {
|
||||
pro.setPrice(Math.ceil(price * number));
|
||||
|
||||
Reference in New Issue
Block a user