新增杯垫材质

This commit is contained in:
2025-07-18 11:03:36 +08:00
parent a904602095
commit 5a64901acf
2 changed files with 78 additions and 8 deletions
@@ -4068,6 +4068,23 @@ public class ProductService {
priceList.add(product);
}
} else if ("12".equals(kind)) {
double basePrice = 0;
if ("2mm".equals(dto.getSize1())) {
basePrice = 5;
}
if ("3mm".equals(dto.getSize1())) {
basePrice = 7;
}
if ("5mm".equals(dto.getSize1())) {
basePrice = 9;
}
pro = new Product();
pro.setCount(count);
pro.setPrice(Math.max(Math.ceil(basePrice * count * number), 30) + 8 * (number - 1));
priceList.add(pro);
return priceList;
} else {
priceList = new PriceUtils().tags600Price(dto, kind, kind2, area, count);
// 服装吊牌里面的900克吊牌把价格*1.3倍