From d77e26f42382a9159c9d4b6d72e802f50820cd49 Mon Sep 17 00:00:00 2001 From: zhuyiyi <649091362@qq.com> Date: Tue, 21 Oct 2025 17:27:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=B9=E7=A7=8D=E7=BA=B8?= =?UTF-8?q?=E5=90=8D=E7=89=87=E6=A8=A1=E5=88=87=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/lingtao/net/service/ProductService.java | 6 +++--- src/main/webapp/views/product/tape.jsp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/lingtao/net/service/ProductService.java b/src/main/java/lingtao/net/service/ProductService.java index ef6ef98..c5eaea4 100644 --- a/src/main/java/lingtao/net/service/ProductService.java +++ b/src/main/java/lingtao/net/service/ProductService.java @@ -6353,16 +6353,16 @@ public class ProductService { if ("特种纸名片".equals(dto.getProTypeValue()) && craftList.contains("异形模切") && !craftList.contains("单面烫金") && !craftList.contains("双面烫金")) {// 200-500张按照原有的价格乘以3倍 1000-5000张按照原有的价格乘以2.4倍 5000-10000张按照原有的价格乘以2倍 for (Product product : priceList) { if (200 <= product.getCount() && product.getCount() <= 500) { - product.setPrice(Math.ceil(product.getPrice() * 1.9)); + product.setPrice(Math.ceil(product.getPrice() * 3)); } if (500 < product.getCount() && product.getCount() <= 1000) { - product.setPrice(Math.ceil(product.getPrice() * 2.3)); + product.setPrice(Math.ceil(product.getPrice() * 2.6)); } if (1000 < product.getCount() && product.getCount() <= 5000) { product.setPrice(Math.ceil(product.getPrice() * 2.4)); } if (5000 < product.getCount() && product.getCount() <= 10000) { - product.setPrice(Math.ceil(product.getPrice() * 2.5)); + product.setPrice(Math.ceil(product.getPrice() * 2)); } } } diff --git a/src/main/webapp/views/product/tape.jsp b/src/main/webapp/views/product/tape.jsp index cd877a9..dffe60d 100644 --- a/src/main/webapp/views/product/tape.jsp +++ b/src/main/webapp/views/product/tape.jsp @@ -99,7 +99,7 @@
配件: - +