瀏覽代碼

请款功能修改

yzc 1 年之前
父節點
當前提交
2af1748bb3
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      hx-account/src/main/java/com/fjhx/account/flow/AccountRequestFundsFlow.java

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

@@ -68,6 +68,11 @@ public class AccountRequestFundsFlow extends FlowDelegate {
 
         accountRequestFundsDto = commStart(accountRequestFundsDto, 0);
 
+        //回填数据
+        submitData.put("total", accountRequestFundsDto.getTotal());
+        submitData.put("createUserName", SecurityUtils.getLoginUser().getUser().getNickName());
+
+
         return accountRequestFundsDto.getId();
     }
 
@@ -164,6 +169,7 @@ public class AccountRequestFundsFlow extends FlowDelegate {
         accountPayment.setInterbankNumber(accountRequestFunds.getInterbankNumber());
         accountPayment.setDataUser(accountRequestFunds.getCreateUser());
         accountPayment.setAmount(BigDecimal.ZERO);
+        accountPayment.setCompanyId(accountRequestFunds.getCompanyId());
 
         // 如果是核销 核销数据审批通过后,根据“核销总额 - 预支总额”生成“待打款”数据
         if ("3".equals(accountRequestFunds.getType())) {