添加特种纸压痕工艺,数码刮刮卡膜尺寸
This commit is contained in:
@@ -2887,7 +2887,17 @@ public class ProductService {
|
||||
price = fixPrice + (num - 1) * zhang + designFee + cutFee;
|
||||
}
|
||||
if ("刮刮卡".equals(dto.getKind())) {
|
||||
price = price + 0.2 * count * number;
|
||||
List<String> size1 = new ArrayList();
|
||||
size1.add("70*50");
|
||||
size1.add("35*58");
|
||||
size1.add("41*72");
|
||||
size1.add("60*25");
|
||||
size1.add("15*48");
|
||||
double sizePrice = 0.2 * count * number;
|
||||
if (size1.contains(dto.getSize1())) {
|
||||
sizePrice = Math.max(sizePrice, 5);
|
||||
}
|
||||
price = price + sizePrice;
|
||||
}
|
||||
Product dto2 = new Product();
|
||||
dto2.setCount(count);
|
||||
|
||||
Reference in New Issue
Block a user