裱冷板新增配件

This commit is contained in:
2025-09-16 11:50:52 +08:00
parent fc8ac0f2ce
commit f9f42680be
2 changed files with 45 additions and 2 deletions
@@ -2799,7 +2799,7 @@ public class ProductService {
return null;
}
fixPrice = 60.0;
zhang = 5;
zhang = 8;
cutFee = 50;
if (!StringUtils.isEmpty(dto.getCraft()))
cutFee = 100;
@@ -3279,6 +3279,15 @@ public class ProductService {
// 裱板
if ("0".equals(kind)) {
priceList = new PosterPrice().acountPrice00(kind2, area, count, number);
crafts_list = dto.getCraft() == null ? new ArrayList<>() : Arrays.asList(dto.getCraft());
for (Product product : priceList) {
if (crafts_list.contains("铁架支架")) {
product.setPrice(Math.ceil(product.getPrice() + 35 * dto.getZheye()));
}
if (crafts_list.contains("伸缩支架")) {
product.setPrice(Math.ceil(product.getPrice() + 10 * dto.getYaheng()));
}
}
} else if ("1".equals(kind)) {// 室内写真
priceList = new PosterPrice().acountPrice01(kind2, area, count, number, width * 100, length * 100);
} else if ("2".equals(kind)) {// 户外写真