|
@@ -65,6 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="loanApplicationType" column="loan_application_type" />
|
|
<result property="loanApplicationType" column="loan_application_type" />
|
|
<result property="aUserId" column="a_user_id" />
|
|
<result property="aUserId" column="a_user_id" />
|
|
<result property="aUserName" column="a_user_name" />
|
|
<result property="aUserName" column="a_user_name" />
|
|
|
|
+ <result property="aAuthorize" column="a_authorize" />
|
|
<result property="bUserId" column="b_user_id" />
|
|
<result property="bUserId" column="b_user_id" />
|
|
<result property="bUserName" column="b_user_name" />
|
|
<result property="bUserName" column="b_user_name" />
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createBy" column="create_by" />
|
|
@@ -75,7 +76,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,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
|
|
|
|
|
|
+ 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,a_authorize, 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">
|
|
@@ -128,6 +129,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="applicationTime != null ">AND date_format(application_time,'%Y%m%d') >= date_format(#{applicationTime},'%Y%m%d')</if>
|
|
<if test="applicationTime != null ">AND date_format(application_time,'%Y%m%d') >= date_format(#{applicationTime},'%Y%m%d')</if>
|
|
<if test="fileTime != null "> and file_time = #{fileTime}</if>
|
|
<if test="fileTime != null "> and file_time = #{fileTime}</if>
|
|
<if test="loanSchedule != null and loanSchedule != ''"> and loan_schedule = #{loanSchedule}</if>
|
|
<if test="loanSchedule != null and loanSchedule != ''"> and loan_schedule = #{loanSchedule}</if>
|
|
|
|
+ <if test="aAuthorize != null and aAuthorize != ''"> and a_authorize = #{aAuthorize}</if>
|
|
<if test="auditSchedule != null and auditSchedule != ''"> and audit_schedule = #{auditSchedule}</if>
|
|
<if test="auditSchedule != null and auditSchedule != ''"> and audit_schedule = #{auditSchedule}</if>
|
|
<if test="auditType != null and auditType != ''"> and audit_type = #{auditType}</if>
|
|
<if test="auditType != null and auditType != ''"> and audit_type = #{auditType}</if>
|
|
<if test="loanApplicationType != null and loanApplicationType != ''"> and loan_application_type = #{loanApplicationType}</if>
|
|
<if test="loanApplicationType != null and loanApplicationType != ''"> and loan_application_type = #{loanApplicationType}</if>
|
|
@@ -218,6 +220,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="loanApplicationType != null and loanApplicationType != ''">loan_application_type,</if>
|
|
<if test="loanApplicationType != null and loanApplicationType != ''">loan_application_type,</if>
|
|
<if test="aUserId != null">a_user_id,</if>
|
|
<if test="aUserId != null">a_user_id,</if>
|
|
<if test="aUserName != null">a_user_name,</if>
|
|
<if test="aUserName != null">a_user_name,</if>
|
|
|
|
+ <if test="aAuthorize != null and aAuthorize != ''">a_authorize,</if>
|
|
<if test="bUserId != null">b_user_id,</if>
|
|
<if test="bUserId != null">b_user_id,</if>
|
|
<if test="bUserName != null">b_user_name,</if>
|
|
<if test="bUserName != null">b_user_name,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
@@ -286,6 +289,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="loanApplicationType != null and loanApplicationType != ''">#{loanApplicationType},</if>
|
|
<if test="loanApplicationType != null and loanApplicationType != ''">#{loanApplicationType},</if>
|
|
<if test="aUserId != null">#{aUserId},</if>
|
|
<if test="aUserId != null">#{aUserId},</if>
|
|
<if test="aUserName != null">#{aUserName},</if>
|
|
<if test="aUserName != null">#{aUserName},</if>
|
|
|
|
+ <if test="aAuthorize != null and aAuthorize != ''">#{aAuthorize},</if>
|
|
<if test="bUserId != null">#{bUserId},</if>
|
|
<if test="bUserId != null">#{bUserId},</if>
|
|
<if test="bUserName != null">#{bUserName},</if>
|
|
<if test="bUserName != null">#{bUserName},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
@@ -358,6 +362,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="loanApplicationType != null and loanApplicationType != ''">loan_application_type = #{loanApplicationType},</if>
|
|
<if test="loanApplicationType != null and loanApplicationType != ''">loan_application_type = #{loanApplicationType},</if>
|
|
<if test="aUserId != null">a_user_id = #{aUserId},</if>
|
|
<if test="aUserId != null">a_user_id = #{aUserId},</if>
|
|
<if test="aUserName != null">a_user_name = #{aUserName},</if>
|
|
<if test="aUserName != null">a_user_name = #{aUserName},</if>
|
|
|
|
+ <if test="aAuthorize != null and aAuthorize != ''">a_authorize = #{aAuthorize},</if>
|
|
<if test="bUserId != null">b_user_id = #{bUserId},</if>
|
|
<if test="bUserId != null">b_user_id = #{bUserId},</if>
|
|
<if test="bUserName != null">b_user_name = #{bUserName},</if>
|
|
<if test="bUserName != null">b_user_name = #{bUserName},</if>
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|