소스 검색

资金流水导出Excel

yzc 2 년 전
부모
커밋
0b9dc54153
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      hx-account/src/main/java/com/fjhx/account/service/account/impl/AccountRequestFundsServiceImpl.java

+ 5 - 0
hx-account/src/main/java/com/fjhx/account/service/account/impl/AccountRequestFundsServiceImpl.java

@@ -168,6 +168,11 @@ public class AccountRequestFundsServiceImpl extends ServiceImpl<AccountRequestFu
         }
 
         DynamicDataSourceContextHolder.poll();
+        //赋值流程id
+        FlowExample flowExample = flowExampleService.getOne(q -> q.eq(FlowExample::getBusinessId, accountRequestFunds.getId()));
+        if (ObjectUtil.isNotEmpty(flowExample)) {
+            accountRequestFundsVo.setFlowInfoId(flowExample.getId());
+        }
 
         return accountRequestFundsVo;
     }