修改多种价格,新增多种工艺
This commit is contained in:
@@ -2174,7 +2174,7 @@ public class PriceUtils {
|
||||
if (dto.getN_mq_num() > 0) {
|
||||
price += 10 * dto.getN_mq_num();
|
||||
}
|
||||
price = Math.ceil(price + (number - 1) * 8);
|
||||
price = Math.ceil(price + (number - 1) * 5);
|
||||
pro.setCount(count / number);
|
||||
pro.setPrice(price);
|
||||
list.add(pro);
|
||||
@@ -3694,7 +3694,8 @@ public class PriceUtils {
|
||||
} else {
|
||||
basePrice = 70;
|
||||
}
|
||||
return Math.max(Math.ceil(area * basePrice), 50);
|
||||
|
||||
return Math.max(Math.ceil(area * basePrice * 1.2), 50);
|
||||
}
|
||||
double price = 0;
|
||||
if (craft_list.contains("冷转印")) {
|
||||
@@ -3721,7 +3722,7 @@ public class PriceUtils {
|
||||
price = price + (coNumber - 1) * 100;
|
||||
}
|
||||
|
||||
return Math.ceil(price);
|
||||
return Math.ceil(price * 0.9);
|
||||
}
|
||||
|
||||
public static List<Product> getYinBaiPrice(List<Product> productList, double width, double length) {
|
||||
|
||||
Reference in New Issue
Block a user