修改配件样式逻辑

This commit is contained in:
2025-08-23 15:09:02 +08:00
parent 49c7a37842
commit a1b9d34bd7
2 changed files with 76 additions and 20 deletions
@@ -906,7 +906,10 @@ public class ProductService {
if (craft_list.contains("配棉绳")) {
carft_price += Math.max(Math.ceil(product.getCount() * 0.015), 15);
}
if (craft_list.contains("opp袋")) {
if (craft_list.contains("opp袋")) {
carft_price += Math.max(Math.ceil(product.getCount() * 0.15), 5);
}
if (craft_list.contains("配opp袋")) {
double carft_base_price = 0;
if ("8*5".equals(dto.getToothpick_size())) {
carft_base_price = 10;