From 9e4cd87a59b28881017d4e367c8a81d12d410422 Mon Sep 17 00:00:00 2001 From: zhuyiyi <649091362@qq.com> Date: Mon, 26 Jan 2026 10:13:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=A1=E7=89=87=E6=89=93?= =?UTF-8?q?=E7=A0=81=EF=BC=8C=E4=BF=AE=E6=94=B9=E6=96=B9=E5=B7=BE=E5=B0=BA?= =?UTF-8?q?=E5=AF=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/lingtao/net/service/ProductService.java | 8 +++++++- src/main/webapp/views/product/coupon.jsp | 5 ++--- src/main/webapp/views/product/handkerchiefPaper.jsp | 6 +++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/main/java/lingtao/net/service/ProductService.java b/src/main/java/lingtao/net/service/ProductService.java index 10d1b99..3ffd2bf 100644 --- a/src/main/java/lingtao/net/service/ProductService.java +++ b/src/main/java/lingtao/net/service/ProductService.java @@ -7341,8 +7341,14 @@ public class ProductService { } else { danjia = 0.1; } + if (dto.getMaxian() == 3) { + danjia = 0.1 * 2; + } if (dto.getPcount() == 3) { - danjia = 0.5; + danjia = 0.8; + if (dto.getMaxian() > 1) { + danjia = danjia * dto.getMaxian(); + } } if ("上下编码".equals(dto.getBianma())) { for (Product product : priceList) { diff --git a/src/main/webapp/views/product/coupon.jsp b/src/main/webapp/views/product/coupon.jsp index 369eafe..6ad55c6 100644 --- a/src/main/webapp/views/product/coupon.jsp +++ b/src/main/webapp/views/product/coupon.jsp @@ -521,14 +521,13 @@ 码数: