新增挂画

This commit is contained in:
2025-12-26 17:40:15 +08:00
parent d622d5b937
commit 8e1d6b5185
4 changed files with 456 additions and 9 deletions
@@ -2485,16 +2485,16 @@ public class PriceUtils {
double area = length * width / 10000;
double price = 0, dj = 0;
if (area < 0.25) {
dj = 50;
} else {
dj = 40;
} else {
dj = 35;
}
area *= count;
if ("6".equals(kind2)) {
price = price + 30;
}
price = Math.ceil(area * dj > 58 ? area * dj : 58);
price = Math.ceil(area * dj > 40 ? area * dj : 40);
pro.setCount(count);
pro.setPrice(price * number);
list.add(pro);
@@ -3075,12 +3075,11 @@ public class PriceUtils {
Product pro = new Product();
double price = 0, dj = 0;
String[] craft = dto.getCraft();
if (dto.getStickerKind().equals("套餐")) {
if ("套餐".equals(dto.getStickerKind())) {
pro.setCount(count);
pro.setPrice(198.0);
list.add(pro);
} else {
double area = length * width * count / 10000;
double d = length * width * count / 10000;
if (length == 100 && width == 45) {