新增杯垫材质
This commit is contained in:
@@ -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倍
|
||||
|
||||
Reference in New Issue
Block a user