|
@@ -168,7 +168,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
where loan_application_id = #{loanApplicationId}
|
|
where loan_application_id = #{loanApplicationId}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
- <!-- <select id="conferenceList" parameterType="LoanApplication" resultMap="LoanApplicationResult">
|
|
|
|
|
|
+ <select id="conferenceProdList" parameterType="LoanApplication" resultMap="LoanApplicationResult">
|
|
SELECT
|
|
SELECT
|
|
l.loan_application_id, l.loan_application_number, l.application_type,l.application_amount,l.enterprise_id,l.guarantee_shareholder_name,l.guarantee_shareholder_id_card, l.application_bank, l.usage_period, l.purpose_funds, l.repayment_source, l.enterprise_name, l.category_type, l.is_make, l.is_new, l.is_small,
|
|
l.loan_application_id, l.loan_application_number, l.application_type,l.application_amount,l.enterprise_id,l.guarantee_shareholder_name,l.guarantee_shareholder_id_card, l.application_bank, l.usage_period, l.purpose_funds, l.repayment_source, l.enterprise_name, l.category_type, l.is_make, l.is_new, l.is_small,
|
|
l.is_duty, l.company_introduction, l.customer_type, l.corporation_front, l.corporation_back, l.corporation_name, l.corporation_id_card, l.corporation_phone,l.corporation_address,l.corporation_expiration_date, l.family_population, l.corporation_job, l.is_loan, l.receivable_pay, l.business_situation, l.business_efficiency,
|
|
l.is_duty, l.company_introduction, l.customer_type, l.corporation_front, l.corporation_back, l.corporation_name, l.corporation_id_card, l.corporation_phone,l.corporation_address,l.corporation_expiration_date, l.family_population, l.corporation_job, l.is_loan, l.receivable_pay, l.business_situation, l.business_efficiency,
|
|
@@ -178,13 +178,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
from sys_user_conference s
|
|
from sys_user_conference s
|
|
LEFT JOIN loan_application l on l.loan_application_id = s.loan_application_id
|
|
LEFT JOIN loan_application l on l.loan_application_id = s.loan_application_id
|
|
where l.loan_application_id is not null
|
|
where l.loan_application_id is not null
|
|
- <if test="userId != null "> and s.user_id = #{userId} = #{userId}</if>
|
|
|
|
|
|
+ <if test="userId != null "> and s.user_id = #{userId} </if>
|
|
<if test="enterpriseName != null and enterpriseName != ''"> and l.enterprise_name like concat('%', #{enterpriseName}, '%')</if>
|
|
<if test="enterpriseName != null and enterpriseName != ''"> and l.enterprise_name like concat('%', #{enterpriseName}, '%')</if>
|
|
<if test="applicationAmount != null "> and l.application_amount = #{applicationAmount}</if>
|
|
<if test="applicationAmount != null "> and l.application_amount = #{applicationAmount}</if>
|
|
<if test="reviewTime != null "> and l.review_time = #{reviewTime}</if>
|
|
<if test="reviewTime != null "> and l.review_time = #{reviewTime}</if>
|
|
GROUP BY l.loan_application_id
|
|
GROUP BY l.loan_application_id
|
|
- ORDER BY review_time desc
|
|
|
|
- </select>-->
|
|
|
|
|
|
+ ORDER BY l.review_time desc
|
|
|
|
+ </select>
|
|
|
|
|
|
<select id="conferenceList" parameterType="LoanApplication" resultMap="LoanApplicationResult">
|
|
<select id="conferenceList" parameterType="LoanApplication" resultMap="LoanApplicationResult">
|
|
SELECT
|
|
SELECT
|