|
@@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="usagePeriod" column="usage_period" />
|
|
|
<result property="purposeFunds" column="purpose_funds" />
|
|
|
<result property="repaymentSource" column="repayment_source" />
|
|
|
+ <result property="enterpriseId" column="enterprise_id" />
|
|
|
<result property="enterpriseName" column="enterprise_name" />
|
|
|
<result property="categoryType" column="category_type" />
|
|
|
<result property="isMake" column="is_make" />
|
|
@@ -72,7 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectLoanApplicationVo">
|
|
|
- select loan_application_id, loan_application_number, application_type,application_amount, 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, 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>
|
|
|
|
|
|
<select id="selectLoanApplicationList" parameterType="LoanApplication" resultMap="LoanApplicationResult">
|
|
@@ -152,6 +153,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="usagePeriod != null and usagePeriod != ''">usage_period,</if>
|
|
|
<if test="purposeFunds != null and purposeFunds != ''">purpose_funds,</if>
|
|
|
<if test="repaymentSource != null and repaymentSource != ''">repayment_source,</if>
|
|
|
+ <if test="enterpriseId != null and enterpriseId != ''">enterprise_id,</if>
|
|
|
<if test="enterpriseName != null and enterpriseName != ''">enterprise_name,</if>
|
|
|
<if test="categoryType != null and categoryType != ''">category_type,</if>
|
|
|
<if test="isMake != null">is_make,</if>
|
|
@@ -217,6 +219,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="usagePeriod != null and usagePeriod != ''">#{usagePeriod},</if>
|
|
|
<if test="purposeFunds != null and purposeFunds != ''">#{purposeFunds},</if>
|
|
|
<if test="repaymentSource != null and repaymentSource != ''">#{repaymentSource},</if>
|
|
|
+ <if test="enterpriseId != null and enterpriseId != ''">#{enterpriseId},</if>
|
|
|
<if test="enterpriseName != null and enterpriseName != ''">#{enterpriseName},</if>
|
|
|
<if test="categoryType != null and categoryType != ''">#{categoryType},</if>
|
|
|
<if test="isMake != null">#{isMake},</if>
|
|
@@ -286,6 +289,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="usagePeriod != null and usagePeriod != ''">usage_period = #{usagePeriod},</if>
|
|
|
<if test="purposeFunds != null and purposeFunds != ''">purpose_funds = #{purposeFunds},</if>
|
|
|
<if test="repaymentSource != null and repaymentSource != ''">repayment_source = #{repaymentSource},</if>
|
|
|
+ <if test="enterpriseId != null and enterpriseId != ''">enterprise_id = #{enterpriseId},</if>
|
|
|
<if test="enterpriseName != null and enterpriseName != ''">enterprise_name = #{enterpriseName},</if>
|
|
|
<if test="categoryType != null and categoryType != ''">category_type = #{categoryType},</if>
|
|
|
<if test="isMake != null">is_make = #{isMake},</if>
|