heardDetailList;
+
+ /**
+ * api请求基本信息
+ */
+ private ApiBaseInfo apiBaseInfo;
+
+
+}
diff --git a/src/main/java/aiyh/utils/apirequest/entity/ApiRequestHeardData.java b/src/main/java/aiyh/utils/apirequest/entity/ApiRequestHeardData.java
new file mode 100644
index 0000000..f73369a
--- /dev/null
+++ b/src/main/java/aiyh/utils/apirequest/entity/ApiRequestHeardData.java
@@ -0,0 +1,14 @@
+package aiyh.utils.apirequest.entity;
+
+import aiyh.utils.apirequest.pojo.ApiRequestHeardDetail;
+
+/**
+ * api 请求头参数业务处理对象
+ * create 2022/2/8 0008 11:15
+ *
+ * @author EBU7-dev1-ayh
+ */
+
+
+public class ApiRequestHeardData extends ApiRequestHeardDetail {
+}
diff --git a/src/main/java/aiyh/utils/apirequest/entity/ApiRequestParamData.java b/src/main/java/aiyh/utils/apirequest/entity/ApiRequestParamData.java
new file mode 100644
index 0000000..2374c0b
--- /dev/null
+++ b/src/main/java/aiyh/utils/apirequest/entity/ApiRequestParamData.java
@@ -0,0 +1,14 @@
+package aiyh.utils.apirequest.entity;
+
+import aiyh.utils.apirequest.pojo.ApiRequestParamDetail;
+
+/**
+ * Api 请求参数配置业务对象
+ * create 2022/1/28 0028 12:09
+ *
+ * @author EBU7-dev1-ayh
+ */
+
+
+public class ApiRequestParamData extends ApiRequestParamDetail {
+}
diff --git a/src/main/java/aiyh/utils/apirequest/entity/ParamConfigInfo.java b/src/main/java/aiyh/utils/apirequest/entity/ParamConfigInfo.java
index 1fcfb86..d2abbb7 100644
--- a/src/main/java/aiyh/utils/apirequest/entity/ParamConfigInfo.java
+++ b/src/main/java/aiyh/utils/apirequest/entity/ParamConfigInfo.java
@@ -13,8 +13,11 @@ import java.util.List;
@Data
public class ParamConfigInfo {
- private String requestId;
+
+ /**
+ * 配置主表id
+ */
private Integer id;
/**
* api地址
@@ -28,10 +31,7 @@ public class ParamConfigInfo {
* 请求方式
*/
private Integer requestType;
- /**
- * api启用类型
- */
- private Integer apiType;
+
/**
* 数据来源
*/
@@ -57,10 +57,7 @@ public class ParamConfigInfo {
*/
private String requestDetailTableName;
- /**
- * 唯一标识
- */
- private String onlyMark;
+
/**
* 参数信息
*/
diff --git a/src/main/java/aiyh/utils/apirequest/enumtype/ParamTypeEnum.java b/src/main/java/aiyh/utils/apirequest/enumtype/ParamTypeEnum.java
index afb684a..708436b 100644
--- a/src/main/java/aiyh/utils/apirequest/enumtype/ParamTypeEnum.java
+++ b/src/main/java/aiyh/utils/apirequest/enumtype/ParamTypeEnum.java
@@ -1,5 +1,9 @@
package aiyh.utils.apirequest.enumtype;
+import java.util.EnumSet;
+import java.util.HashMap;
+import java.util.Map;
+
/**
* 参数类型枚举
* create 2022/1/25 0025 10:36
@@ -9,4 +13,55 @@ package aiyh.utils.apirequest.enumtype;
public enum ParamTypeEnum {
+
+
+ /**
+ * string 类型
+ */
+ STRING_TYPE(0),
+ /**
+ * long 类型
+ */
+ LONG_TYPE(1),
+ /**
+ * boolean类型
+ */
+ BOOLEAN_TYPE(2),
+ /**
+ * object 类型
+ */
+ OBJECT_TYPE(3),
+ /**
+ * list类型
+ */
+ LIST_TYPE(4),
+ /**
+ * double 类型
+ */
+ DOUBLE_TYPE(5);
+
+
+ private static final Map LOOKUP;
+
+ static {
+ LOOKUP = new HashMap<>();
+ for (ParamTypeEnum enumType : EnumSet.allOf(ParamTypeEnum.class)) {
+ LOOKUP.put(enumType.getValue(), enumType);
+ }
+ }
+
+ private final int value;
+
+ ParamTypeEnum(int value) {
+ this.value = value;
+ }
+
+ public static ParamTypeEnum get(int value) {
+ return LOOKUP.get(value);
+ }
+
+ public int getValue() {
+ return this.value;
+ }
+
}
diff --git a/src/main/java/aiyh/utils/apirequest/mapper/ParamValueParseMapper.java b/src/main/java/aiyh/utils/apirequest/mapper/ParamValueParseMapper.java
index 83be7a1..443c971 100644
--- a/src/main/java/aiyh/utils/apirequest/mapper/ParamValueParseMapper.java
+++ b/src/main/java/aiyh/utils/apirequest/mapper/ParamValueParseMapper.java
@@ -5,6 +5,7 @@ import aiyh.utils.annotation.recordset.Select;
import aiyh.utils.annotation.recordset.SqlMapper;
import aiyh.utils.annotation.recordset.SqlString;
+import java.util.List;
import java.util.Map;
/**
@@ -26,4 +27,26 @@ public interface ParamValueParseMapper {
@Select(custom = true)
@CaseConversion(false)
public String selectCustomerSql(@SqlString String sql, Map map);
+
+
+ /**
+ * 自定义查询SQL对象
+ * @param sqlStr 自定义SQL字符串
+ * @param dataMap 参数
+ * @return 查询到的数据
+ */
+ @Select(custom = true)
+ @CaseConversion(false)
+ public Map selectMapByCustomerSql(@SqlString String sqlStr, Map dataMap);
+
+
+ /**
+ * 自定义查询SQL集合
+ * @param sql 自定义SQL字符串
+ * @param dataMap 参数
+ * @return 查询到的数据
+ */
+ @Select(custom = true)
+ @CaseConversion(false)
+ public List