Przeglądaj źródła

add 添加助贷api 信息

GITZYY 7 miesięcy temu
rodzic
commit
469e9dd959

+ 140 - 0
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/repository/database/entity/ProductBusinessApiInfoDo.java

@@ -0,0 +1,140 @@
+package com.hrsk.cloud.eg.infrastructure.repository.database.entity;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Data;
+import lombok.experimental.Accessors;
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * 商户对接配置信息表
+ *
+ * @author Mybatis Plus Generator
+ * @date 2023.05.09 10:11
+ */
+@Data
+@Accessors(chain = true)
+@TableName("product_business_api_info")
+public class ProductBusinessApiInfoDo implements Serializable {
+
+    private Integer id;
+
+    /**
+     * 商户编号
+     * */
+    private String busiId;
+
+    /**
+     * 对接类型 1-惠融易客 2-API
+     * */
+    private String joinKind;
+
+    /**
+     * 对接方式 1 -我方通用API 2-合作方CRM 3-三方CRM(ec) 4-三方CRM(庆鱼)  5-三方CRM(锦碟) 6-三方CRM(融享客)
+     * */
+    private String joinMethod;
+
+    /**
+     * 类型
+     * */
+    private String jointType;
+
+    /**
+     * 对接我方API撞库地址
+     * */
+    private String openapiCheckUrl;
+
+
+    /**
+     * 对接我方API注册地址
+     * */
+    private String openapiBizUrl;
+
+     /**
+     * 对接我方API公钥
+     * */
+    private String openapiAccessKeySecret;
+
+    /**
+     * 三方平台对接参数
+     * */
+    private String threeSystemConfig;
+
+    /**
+     * 合作方自研对接参数
+     * */
+    private String joinTypeConfig;
+
+    private String creater;
+
+    private String updater;
+
+    private String productIds;
+
+    private Date createTime;
+
+    private Date updateTime;
+
+    private Integer crmChannelInitStatus;
+
+    private String remark;
+
+    private Date syncTime;
+
+    private String name;
+
+    /**
+     * 对接方式
+     * */
+    private String dockingMethod;
+
+    /**
+     * 运营负责人Id
+     * */
+    private String operationId;
+
+
+    /**
+     * 运营负责人
+     * */
+    private String operation;
+
+    private Integer createId;
+
+    private String contractSignaturerId;
+
+    private String contractSignaturer;
+
+    private String shareRange;
+
+    /**
+     * 共享信息目的
+     * */
+    private String sharePurpose;
+
+    /**
+     * 共享方式
+     * */
+    private String shareType;
+
+    /**
+     * 助贷商户用户协议
+     * */
+    private String protocol;
+
+    /**
+     * 技术维护人id
+     * */
+    private Integer maintenanceId;
+
+    /**
+     * 技术维护人
+     * */
+    @TableField("maintenance")
+    private String maintenance;
+
+
+
+
+}

+ 14 - 0
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/repository/database/mapper/ProductBusinessApiInfoMapper.java

@@ -0,0 +1,14 @@
+package com.hrsk.cloud.eg.infrastructure.repository.database.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.hrsk.cloud.eg.infrastructure.repository.database.entity.ProductBusinessApiInfoDo;
+
+/**
+ * 商户对接配置信息表 Mapper 接口
+ *
+ * @author Mybatis Plus Generator
+ * @data 2023.05.09 10:11
+ */
+public interface ProductBusinessApiInfoMapper extends BaseMapper<ProductBusinessApiInfoDo> {
+
+}

+ 34 - 0
egress-gateway-service-infrastructure/src/main/resources/mapper/ProductBusinessApiInfoMapper.xml

@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.hrsk.cloud.eg.infrastructure.repository.database.mapper.ProductBusinessApiInfoMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="BaseResultMap" type="com.hrsk.cloud.eg.infrastructure.repository.database.entity.ProductBusinessApiInfoDo">
+        <id column="id" property="id"/>
+        <result column="busi_id" property="busiId"/>
+        <result column="join_kind" property="joinKind"/>
+        <result column="join_method" property="joinMethod"/>
+        <result column="joint_type" property="jointType"/>
+        <result column="openapi_check_url" property="openapiCheckUrl"/>
+        <result column="openapi_biz_url" property="openapiBizUrl"/>
+        <result column="openapi_access_key_secret" property="openapiAccessKeySecret"/>
+        <result column="three_system_config" property="threeSystemConfig"/>
+        <result column="join_type_config" property="joinTypeConfig"/>
+        <result column="creater" property="creater"/>
+        <result column="updater" property="updater"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="create_id" property="createId"/>
+        <result column="operation" property="operation"/>
+        <result column="operation_id" property="operationId"/>
+        <result column="contract_signaturer_id" property="contractSignaturerId"/>
+        <result column="contract_signaturer" property="contractSignaturer"/>
+    </resultMap>
+
+    <!-- 通用查询结果列 -->
+    <sql id="Base_Column_List">
+        id, busi_id, join_kind, join_method, joint_type, openapi_check_url, openapi_biz_url, openapi_access_key_secret, three_system_config, join_type_config, creater, updater, create_time, update_time
+    </sql>
+
+
+</mapper>