修改pvc数码设计费
This commit is contained in:
@@ -4771,8 +4771,24 @@ public class ProductService {
|
||||
item.setSizes(Arrays.asList(dto.getWidthUV() * 10, dto.getLengthVU() * 10));
|
||||
list.add(item);
|
||||
}
|
||||
|
||||
}
|
||||
if (width < 5.4 || length < 5.4) {
|
||||
boolean ismoqie = false;
|
||||
if (craft_list.contains("模切")) {
|
||||
HuaFangPriceProcessItemsVo item = new HuaFangPriceProcessItemsVo();
|
||||
item.setProcessName("模切");
|
||||
item.setProcessValue("模切");
|
||||
list.add(item);
|
||||
ismoqie = true;
|
||||
}
|
||||
if (!ismoqie && craft_list.contains("圆角")) {
|
||||
HuaFangPriceProcessItemsVo item = new HuaFangPriceProcessItemsVo();
|
||||
item.setProcessName("模切");
|
||||
item.setProcessValue("模切");
|
||||
list.add(item);
|
||||
ismoqie = true;
|
||||
}
|
||||
if (!ismoqie && (width < 5.4 || length < 5.4)) {
|
||||
HuaFangPriceProcessItemsVo item = new HuaFangPriceProcessItemsVo();
|
||||
item.setProcessName("模切");
|
||||
item.setProcessValue("模切");
|
||||
|
||||
@@ -71,14 +71,18 @@ public class ZsPrice {
|
||||
if (number > 1) {
|
||||
double desFee = 0;
|
||||
|
||||
if (dto.getP() == 1 || dto.getP() == 2 || dto.getP() == 3) {
|
||||
desFee = 3;
|
||||
if (dto.getP() == 1) {
|
||||
desFee = 0.5;
|
||||
} else if (dto.getP() == 2) {
|
||||
desFee = 2;
|
||||
} else if (dto.getP() == 3) {
|
||||
desFee = 1;
|
||||
} else if (dto.getP() == 4) {
|
||||
desFee = 5;
|
||||
desFee = 3;
|
||||
} else if (dto.getP() == 5) {
|
||||
desFee = 6;
|
||||
desFee = 3.5;
|
||||
} else {
|
||||
desFee = 10;
|
||||
desFee = 5;
|
||||
}
|
||||
price += desFee * (number - 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user