Browse Source

新增 股东营业执照

Administrator 1 năm trước cách đây
mục cha
commit
112d17e43d

+ 11 - 0
ruoyi-system/src/main/java/com/ruoyi/system/domain/loan/ShareholderFj.java

@@ -53,11 +53,22 @@ public class ShareholderFj extends BaseEntity
     /** 股东征信url */
     @Excel(name = "股东征信url")
     private String shareholderZxUrl;
+    /** 股东营业执照 */
+    @Excel(name = "股东营业执照url")
+    private String shareholderBusinessUrl;
     /**
      * 股东征信文件名称
      */
     private String shareholderZxName;
 
+    public String getShareholderBusinessUrl() {
+        return shareholderBusinessUrl;
+    }
+
+    public void setShareholderBusinessUrl(String shareholderBusinessUrl) {
+        this.shareholderBusinessUrl = shareholderBusinessUrl;
+    }
+
     public String getShareholderFrontName() {
         return shareholderFrontName;
     }

+ 7 - 3
ruoyi-system/src/main/resources/mapper/system/ShareholderFjMapper.xml

@@ -16,6 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="shareholderBackUrl"    column="shareholder_back_url"    />
         <result property="shareholderZxName"    column="shareholder_zx_name"    />
         <result property="shareholderZxUrl"    column="shareholder_zx_url"    />
+        <result property="shareholderBusinessUrl"    column="shareholder_business_url"    />
         <result property="createBy"    column="create_by"    />
         <result property="createTime"    column="create_time"    />
         <result property="updateBy"    column="update_by"    />
@@ -24,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <sql id="selectShareholderFjVo">
-        select shareholder_fj_id, loan_application_id, loan_application_number, shareholder_id_card, shareholder_name,shareholder_front_name, shareholder_front_url,shareholder_back_name, shareholder_back_url,shareholder_zx_name, shareholder_zx_url, create_by, create_time, update_by, update_time, remark from shareholder_fj
+        select shareholder_fj_id, loan_application_id, loan_application_number, shareholder_id_card, shareholder_name,shareholder_front_name, shareholder_front_url,shareholder_back_name, shareholder_back_url,shareholder_zx_name, shareholder_zx_url,shareholder_business_url, create_by, create_time, update_by, update_time, remark from shareholder_fj
     </sql>
 
     <select id="selectShareholderFjList" parameterType="ShareholderFj" resultMap="ShareholderFjResult">
@@ -67,6 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="shareholderBackUrl != null and shareholderBackUrl != ''">shareholder_back_url,</if>
             <if test="shareholderZxName != null and shareholderZxName != ''" >shareholder_zx_name,</if>
             <if test="shareholderZxUrl != null and shareholderZxUrl != ''">shareholder_zx_url,</if>
+            <if test="shareholderBusinessUrl != null and shareholderBusinessUrl != ''">shareholder_business_url,</if>
             <if test="createBy != null">create_by,</if>
             <if test="updateBy != null">update_by,</if>
             <if test="updateTime != null">update_time,</if>
@@ -84,6 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="shareholderBackUrl != null and shareholderBackUrl != ''">#{shareholderBackUrl},</if>
             <if test="shareholderZxName != null and shareholderZxName != ''">#{shareholderZxName},</if>
             <if test="shareholderZxUrl != null and shareholderZxUrl != ''">#{shareholderZxUrl},</if>
+            <if test="shareholderBusinessUrl != null and shareholderBusinessUrl != ''">#{shareholderBusinessUrl},</if>
             <if test="createBy != null">#{createBy},</if>
             <if test="updateBy != null">#{updateBy},</if>
             <if test="updateTime != null">#{updateTime},</if>
@@ -92,9 +95,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
          </trim>
     </insert>
     <insert id="batchShareholderFj">
-        insert into shareholder_fj(loan_application_id, loan_application_number, shareholder_id_card, shareholder_name,shareholder_front_name, shareholder_front_url,shareholder_back_name, shareholder_back_url,shareholder_zx_name, shareholder_zx_url, create_by, create_time, update_by, update_time, remark) values
+        insert into shareholder_fj(loan_application_id, loan_application_number, shareholder_id_card, shareholder_name,shareholder_front_name, shareholder_front_url,shareholder_back_name, shareholder_back_url,shareholder_zx_name, shareholder_zx_url,shareholder_business_url, create_by, create_time, update_by, update_time, remark) values
         <foreach item="item" index="index" collection="list" separator=",">
-            (#{item.loanApplicationId},#{item.loanApplicationNumber},#{item.shareholderIdCard},#{item.shareholderName},#{item.shareholderFrontName},#{item.shareholderFrontUrl},#{item.shareholderBackName},#{item.shareholderBackUrl},#{item.shareholderZxName},#{item.shareholderZxUrl},#{item.createBy},sysdate(),#{item.updateBy},#{item.updateTime},#{item.remark})
+            (#{item.loanApplicationId},#{item.loanApplicationNumber},#{item.shareholderIdCard},#{item.shareholderName},#{item.shareholderFrontName},#{item.shareholderFrontUrl},#{item.shareholderBackName},#{item.shareholderBackUrl},#{item.shareholderZxName},#{item.shareholderZxUrl},#{item.shareholderBusinessUrl},#{item.createBy},sysdate(),#{item.updateBy},#{item.updateTime},#{item.remark})
         </foreach>
     </insert>
 
@@ -111,6 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="shareholderBackUrl != null and shareholderBackUrl != ''">shareholder_back_url = #{shareholderBackUrl},</if>
             <if test="shareholderZxName != null and shareholderZxName != ''">shareholder_zx_name = #{shareholderZxName},</if>
             <if test="shareholderZxUrl != null and shareholderZxUrl != ''">shareholder_zx_url = #{shareholderZxUrl},</if>
+            <if test="shareholderBusinessUrl != null and shareholderBusinessUrl != ''">shareholder_business_url = #{shareholderBusinessUrl},</if>
             <if test="createBy != null">create_by = #{createBy},</if>
             <if test="createTime != null">create_time = #{createTime},</if>
             <if test="updateBy != null">update_by = #{updateBy},</if>