|
@@ -53,6 +53,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="guaranteeSpouseName" column="guarantee_spouse_name" />
|
|
<result property="guaranteeSpouseName" column="guarantee_spouse_name" />
|
|
<result property="guaranteeSpouseIdCard" column="guarantee_spouse_id_card" />
|
|
<result property="guaranteeSpouseIdCard" column="guarantee_spouse_id_card" />
|
|
<result property="guaranteeSpousePhone" column="guarantee_spouse_phone" />
|
|
<result property="guaranteeSpousePhone" column="guarantee_spouse_phone" />
|
|
|
|
+ <result property="guaranteeShareholderName" column="guarantee_shareholder_name" />
|
|
|
|
+ <result property="guaranteeShareholderIdCard" column="guarantee_shareholder_id_card" />
|
|
<result property="userId" column="user_id" />
|
|
<result property="userId" column="user_id" />
|
|
<result property="idCard" column="id_card" />
|
|
<result property="idCard" column="id_card" />
|
|
<result property="applicationTime" column="application_time" />
|
|
<result property="applicationTime" column="application_time" />
|
|
@@ -73,7 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectLoanApplicationVo">
|
|
<sql id="selectLoanApplicationVo">
|
|
- select loan_application_id, loan_application_number, application_type,application_amount,enterprise_id, application_bank, usage_period, purpose_funds, repayment_source, enterprise_name, category_type, is_make, is_new, is_small, is_duty, company_introduction, customer_type, corporation_front, corporation_back, corporation_name, corporation_id_card, corporation_phone,corporation_address,corporation_expiration_date, family_population, corporation_job, is_loan, receivable_pay, business_situation, business_efficiency, corporation_marital_status, spouse_front, spouse_back, spouse_name, spouse_id_card, spouse_phone, guarantee_type, guarantee_front, guarantee_back, guarantee_name, guarantee_id_card, guarantee_phone, guarantee_marital_status, guarantee_spouse_front, guarantee_spouse_back, guarantee_spouse_name, guarantee_spouse_id_card, guarantee_spouse_phone, user_id, id_card, application_time, file_time, loan_schedule, audit_schedule, audit_type, loan_application_type, a_user_id, a_user_name, b_user_id, b_user_name, create_by, create_time, update_by, update_time, remark from loan_application
|
|
|
|
|
|
+ select loan_application_id, loan_application_number, application_type,application_amount,enterprise_id,guarantee_shareholder_name,guarantee_shareholder_id_card, application_bank, usage_period, purpose_funds, repayment_source, enterprise_name, category_type, is_make, is_new, is_small, is_duty, company_introduction, customer_type, corporation_front, corporation_back, corporation_name, corporation_id_card, corporation_phone,corporation_address,corporation_expiration_date, family_population, corporation_job, is_loan, receivable_pay, business_situation, business_efficiency, corporation_marital_status, spouse_front, spouse_back, spouse_name, spouse_id_card, spouse_phone, guarantee_type, guarantee_front, guarantee_back, guarantee_name, guarantee_id_card, guarantee_phone, guarantee_marital_status, guarantee_spouse_front, guarantee_spouse_back, guarantee_spouse_name, guarantee_spouse_id_card, guarantee_spouse_phone, user_id, id_card, application_time, file_time, loan_schedule, audit_schedule, audit_type, loan_application_type, a_user_id, a_user_name, b_user_id, b_user_name, create_by, create_time, update_by, update_time, remark from loan_application
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectLoanApplicationList" parameterType="LoanApplication" resultMap="LoanApplicationResult">
|
|
<select id="selectLoanApplicationList" parameterType="LoanApplication" resultMap="LoanApplicationResult">
|
|
@@ -204,6 +206,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="guaranteeSpouseName != null and guaranteeSpouseName != ''">guarantee_spouse_name,</if>
|
|
<if test="guaranteeSpouseName != null and guaranteeSpouseName != ''">guarantee_spouse_name,</if>
|
|
<if test="guaranteeSpouseIdCard != null and guaranteeSpouseIdCard != ''">guarantee_spouse_id_card,</if>
|
|
<if test="guaranteeSpouseIdCard != null and guaranteeSpouseIdCard != ''">guarantee_spouse_id_card,</if>
|
|
<if test="guaranteeSpousePhone != null and guaranteeSpousePhone != ''">guarantee_spouse_phone,</if>
|
|
<if test="guaranteeSpousePhone != null and guaranteeSpousePhone != ''">guarantee_spouse_phone,</if>
|
|
|
|
+ <if test="guaranteeShareholderName != null and guaranteeShareholderName != ''">guarantee_shareholder_name,</if>
|
|
|
|
+ <if test="guaranteeShareholderIdCard != null and guaranteeShareholderIdCard != ''">guarantee_shareholder_id_card,</if>
|
|
<if test="userId != null">user_id,</if>
|
|
<if test="userId != null">user_id,</if>
|
|
<if test="idCard != null">id_card,</if>
|
|
<if test="idCard != null">id_card,</if>
|
|
<if test="applicationTime != null">application_time,</if>
|
|
<if test="applicationTime != null">application_time,</if>
|
|
@@ -270,6 +274,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="guaranteeSpouseName != null and guaranteeSpouseName != ''">#{guaranteeSpouseName},</if>
|
|
<if test="guaranteeSpouseName != null and guaranteeSpouseName != ''">#{guaranteeSpouseName},</if>
|
|
<if test="guaranteeSpouseIdCard != null and guaranteeSpouseIdCard != ''">#{guaranteeSpouseIdCard},</if>
|
|
<if test="guaranteeSpouseIdCard != null and guaranteeSpouseIdCard != ''">#{guaranteeSpouseIdCard},</if>
|
|
<if test="guaranteeSpousePhone != null and guaranteeSpousePhone != ''">#{guaranteeSpousePhone},</if>
|
|
<if test="guaranteeSpousePhone != null and guaranteeSpousePhone != ''">#{guaranteeSpousePhone},</if>
|
|
|
|
+ <if test="guaranteeShareholderName != null and guaranteeShareholderName != ''">#{guaranteeShareholderName},</if>
|
|
|
|
+ <if test="guaranteeShareholderIdCard != null and guaranteeShareholderIdCard != ''">#{guaranteeShareholderIdCard},</if>
|
|
<if test="userId != null">#{userId},</if>
|
|
<if test="userId != null">#{userId},</if>
|
|
<if test="idCard != null">#{idCard},</if>
|
|
<if test="idCard != null">#{idCard},</if>
|
|
<if test="applicationTime != null">#{applicationTime},</if>
|
|
<if test="applicationTime != null">#{applicationTime},</if>
|
|
@@ -340,6 +346,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="guaranteeSpouseName != null and guaranteeSpouseName != ''">guarantee_spouse_name = #{guaranteeSpouseName},</if>
|
|
<if test="guaranteeSpouseName != null and guaranteeSpouseName != ''">guarantee_spouse_name = #{guaranteeSpouseName},</if>
|
|
<if test="guaranteeSpouseIdCard != null and guaranteeSpouseIdCard != ''">guarantee_spouse_id_card = #{guaranteeSpouseIdCard},</if>
|
|
<if test="guaranteeSpouseIdCard != null and guaranteeSpouseIdCard != ''">guarantee_spouse_id_card = #{guaranteeSpouseIdCard},</if>
|
|
<if test="guaranteeSpousePhone != null and guaranteeSpousePhone != ''">guarantee_spouse_phone = #{guaranteeSpousePhone},</if>
|
|
<if test="guaranteeSpousePhone != null and guaranteeSpousePhone != ''">guarantee_spouse_phone = #{guaranteeSpousePhone},</if>
|
|
|
|
+ <if test="guaranteeShareholderName != null and guaranteeShareholderName != ''">guarantee_shareholder_name = #{guaranteeShareholderName},</if>
|
|
|
|
+ <if test="guaranteeShareholderIdCard != null and guaranteeShareholderIdCard != ''">guarantee_shareholder_id_card = #{guaranteeShareholderIdCard},</if>
|
|
<if test="userId != null">user_id = #{userId},</if>
|
|
<if test="userId != null">user_id = #{userId},</if>
|
|
<if test="idCard != null">id_card = #{idCard},</if>
|
|
<if test="idCard != null">id_card = #{idCard},</if>
|
|
<if test="applicationTime != null">application_time = #{applicationTime},</if>
|
|
<if test="applicationTime != null">application_time = #{applicationTime},</if>
|