param);
+
}
diff --git a/src/main/java/com/api/bokang/xiao/zhenn/service/BankService.java b/src/main/java/com/api/bokang/xiao/zhenn/service/BankService.java
index 33ff78c..4af3a11 100644
--- a/src/main/java/com/api/bokang/xiao/zhenn/service/BankService.java
+++ b/src/main/java/com/api/bokang/xiao/zhenn/service/BankService.java
@@ -1,8 +1,18 @@
package com.api.bokang.xiao.zhenn.service;
+import aiyh.utils.Util;
+import com.alibaba.fastjson.JSON;
+import com.api.bokang.xiao.zhenn.mapper.BankMapper;
+import org.apache.log4j.Logger;
+import weaver.bokang.xiao.common.CommonUtil;
+import weaver.bokang.xiao.common.mapper.WorkflowMapper;
import weaver.hrm.User;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
import java.util.Map;
+import java.util.stream.Collectors;
/**
* @ClassName ContractService
@@ -12,13 +22,147 @@ import java.util.Map;
**/
public class BankService {
+ private final BankMapper bankMapper = Util.getMapper(BankMapper.class);
+
+ private final WorkflowMapper workflowMapper = Util.getMapper(WorkflowMapper.class);
+
+ private final Logger log = Util.getLogger();
+
/**
* 获取银行数据信息
+ *
+ *
+ * param{
+ * currentBank:"当前银行下拉框索引",
+ * currentBankAccount:"当前银行下拉框账号",
+ * currentBankSpan:"当前银行名称",
+ * outParam:[{
+ * table:"流程表名",
+ * workflowId:"流程id",
+ * amountField:"金额字段名",
+ * bankAccountField:"银行账号字段",
+ * queryTye:"1、付款账号固定;2、付款账号不固定"
+ * }]:"付款参数条件",
+ * inParam:[{
+ * table:"流程表名",
+ * workflowId:"流程id",
+ * amountField:"金额字段名",
+ * bankAccountField:"银行账号字段",
+ * }]:"收款参数条件"
+ * }
+ *
getBankData(User loginUser, Map param) {
- return null;
+ public Map> getBankData(User loginUser, Map param) {
+ Map> bankData = new HashMap<>();
+ Map bankBaseInfo = new HashMap<>();
+ String currentBankSpan = Util.null2String(param.get("currentBankSpan"));
+ String bankAccount = Util.null2String(param.get("currentBankAccount"));
+ List