|
@@ -16,6 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="shareholderBackUrl" column="shareholder_back_url" />
|
|
<result property="shareholderBackUrl" column="shareholder_back_url" />
|
|
<result property="shareholderZxName" column="shareholder_zx_name" />
|
|
<result property="shareholderZxName" column="shareholder_zx_name" />
|
|
<result property="shareholderZxUrl" column="shareholder_zx_url" />
|
|
<result property="shareholderZxUrl" column="shareholder_zx_url" />
|
|
|
|
+ <result property="shareholderBusinessUrl" column="shareholder_business_url" />
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="updateBy" column="update_by" />
|
|
<result property="updateBy" column="update_by" />
|
|
@@ -24,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectShareholderFjVo">
|
|
<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>
|
|
</sql>
|
|
|
|
|
|
<select id="selectShareholderFjList" parameterType="ShareholderFj" resultMap="ShareholderFjResult">
|
|
<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="shareholderBackUrl != null and shareholderBackUrl != ''">shareholder_back_url,</if>
|
|
<if test="shareholderZxName != null and shareholderZxName != ''" >shareholder_zx_name,</if>
|
|
<if test="shareholderZxName != null and shareholderZxName != ''" >shareholder_zx_name,</if>
|
|
<if test="shareholderZxUrl != null and shareholderZxUrl != ''">shareholder_zx_url,</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="createBy != null">create_by,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
<if test="updateTime != null">update_time,</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="shareholderBackUrl != null and shareholderBackUrl != ''">#{shareholderBackUrl},</if>
|
|
<if test="shareholderZxName != null and shareholderZxName != ''">#{shareholderZxName},</if>
|
|
<if test="shareholderZxName != null and shareholderZxName != ''">#{shareholderZxName},</if>
|
|
<if test="shareholderZxUrl != null and shareholderZxUrl != ''">#{shareholderZxUrl},</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="createBy != null">#{createBy},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
@@ -92,9 +95,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
<insert id="batchShareholderFj">
|
|
<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=",">
|
|
<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>
|
|
</foreach>
|
|
</insert>
|
|
</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="shareholderBackUrl != null and shareholderBackUrl != ''">shareholder_back_url = #{shareholderBackUrl},</if>
|
|
<if test="shareholderZxName != null and shareholderZxName != ''">shareholder_zx_name = #{shareholderZxName},</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="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="createBy != null">create_by = #{createBy},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|