Compare commits
2 Commits
5b76d830fa
...
475d022a95
Author | SHA1 | Date | |
---|---|---|---|
![]() |
475d022a95 | ||
![]() |
9df13f0ca1 |
@ -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)){
|
||||
|
@ -175,5 +175,6 @@ public class DebCredNewSubmitOp extends AbstractOperationServicePlugIn {
|
||||
}
|
||||
// throw new RuntimeException("返回");
|
||||
SaveServiceHelper.update(temp);
|
||||
SaveServiceHelper.save(new DynamicObject[]{temp});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user