From 23c3692927883d519830b0f3ac608699a89dab45 Mon Sep 17 00:00:00 2001 From: ljw Date: Wed, 27 Nov 2024 20:24:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=201.=E9=9A=8F=E6=9C=BA=E8=B5=84=E6=96=99?= =?UTF-8?q?=E5=8F=8A=E9=85=8D=E4=BB=B6=E5=B7=A5=E5=85=B7=E5=8C=85=EF=BC=8C?= =?UTF-8?q?=E6=9C=BA=E5=9E=8B=E5=8F=B0=E6=95=B0=E6=A0=B9=E6=8D=AE=E5=8F=91?= =?UTF-8?q?=E8=BF=90=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wm/es/shippingdetails/form/ShippingDetailsFormPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/yem/wm/es/shippingdetails/form/ShippingDetailsFormPlugin.java b/src/main/java/com/yem/wm/es/shippingdetails/form/ShippingDetailsFormPlugin.java index af01eb24..5a14752c 100644 --- a/src/main/java/com/yem/wm/es/shippingdetails/form/ShippingDetailsFormPlugin.java +++ b/src/main/java/com/yem/wm/es/shippingdetails/form/ShippingDetailsFormPlugin.java @@ -488,7 +488,7 @@ public class ShippingDetailsFormPlugin extends AbstractBillPlugIn implements Bef Map map = new HashMap<>(); for (int rowIndex : rowIndexs) { DynamicObject yemProductmodel = (DynamicObject) this.getModel().getValue("yem_productmodel", rowIndex); - BigDecimal yemQty = (BigDecimal) this.getModel().getValue("yem_qty"); + BigDecimal yemQty = (BigDecimal) this.getModel().getValue("yem_qty",rowIndex); if (yemProductmodel != null) { long aLong = yemProductmodel.getDynamicObject("yem_products").getLong("id"); map.merge(aLong, yemQty, (a, b) -> b.add(a));