浏览代码

193-核销会出现为0的数据

yzc 1 年之前
父节点
当前提交
1cb5f9d6a9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hx-account/src/main/java/com/fjhx/account/flow/AccountRequestFundsFlow.java

+ 1 - 1
hx-account/src/main/java/com/fjhx/account/flow/AccountRequestFundsFlow.java

@@ -141,7 +141,7 @@ public class AccountRequestFundsFlow extends FlowDelegate {
         if ("3".equals(accountRequestFunds.getType())) {
         if ("3".equals(accountRequestFunds.getType())) {
             BigDecimal subtract = accountRequestFunds.getTotal().subtract(accountRequestFunds.getAdvanceAmounts());
             BigDecimal subtract = accountRequestFunds.getTotal().subtract(accountRequestFunds.getAdvanceAmounts());
             accountPayment.setAmount(subtract);
             accountPayment.setAmount(subtract);
-            if(subtract.compareTo(BigDecimal.ZERO)==0){//不生成打款数据
+            if (subtract.compareTo(BigDecimal.ZERO) <= 0) {//不生成打款数据
                 return;
                 return;
             }
             }
         } else {
         } else {