From ceac327ea29676756082cbb436c3e3439bad43cd Mon Sep 17 00:00:00 2001 From: 25655 <2565550274@qq.com> Date: Fri, 28 Mar 2025 11:31:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=201.=E8=B4=B7=E8=AE=B0=E5=8D=95?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E9=87=91=E9=A2=9D=E6=9C=AA=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E6=95=B0=E6=8D=AE=E9=94=99=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?=E5=B7=B2=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yem/wm/im/debcrednotenew/op/DebCredNewAuditPlugin.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/com/yem/wm/im/debcrednotenew/op/DebCredNewAuditPlugin.java b/src/main/java/com/yem/wm/im/debcrednotenew/op/DebCredNewAuditPlugin.java index 0f88366b..6cd74536 100644 --- a/src/main/java/com/yem/wm/im/debcrednotenew/op/DebCredNewAuditPlugin.java +++ b/src/main/java/com/yem/wm/im/debcrednotenew/op/DebCredNewAuditPlugin.java @@ -2,7 +2,6 @@ package com.yem.wm.im.debcrednotenew.op; import com.alibaba.druid.support.logging.Log; import com.alibaba.druid.support.logging.LogFactory; -import com.yem.wm.es.salesorder.validator.SaleOrderDelValidator; import com.yem.wm.im.debcrednotenew.utils.DebCredUtils; import com.yem.wm.im.debcrednotenew.validator.DebCredNewAuditValidatorOp; import kd.bos.dataentity.OperateOption; @@ -18,7 +17,6 @@ import kd.bos.exception.KDBizException; import kd.bos.orm.query.QCP; import kd.bos.orm.query.QFilter; import kd.bos.servicehelper.BusinessDataServiceHelper; -import kd.bos.servicehelper.QueryServiceHelper; import kd.bos.servicehelper.operation.OperationServiceHelper; import kd.bos.servicehelper.operation.SaveServiceHelper; @@ -61,7 +59,7 @@ public class DebCredNewAuditPlugin extends AbstractOperationServicePlugIn { BigDecimal yemAmountSub = temp.getBigDecimal("yem_amount_sub");//配件资金池扣减金额 BigDecimal yemLastrmbamt = temp.getBigDecimal("yem_lastrmbamt");//上次人民币金额 if ("USD".equals(yemCurrencyString)){ - BigDecimal yem_remainingusdamount = yemLastusdamt.add(yemAmount).subtract(yemAmountSub); + BigDecimal yem_remainingusdamount = yemLastusdamt.add(yemAmount).subtract(yemLastusdamt); temp.set("yem_remainingusdamount",yem_remainingusdamount); temp.set("yem_remainingamount",yemLastrmbamt); }else if ("CNY".equals(yemCurrencyString)){