Administrator 11 сар өмнө
parent
commit
b5c072a88b

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/LoanApplicationMapper.xml

@@ -82,6 +82,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectLoanApplicationList" parameterType="LoanApplication" resultMap="LoanApplicationResult">
     <select id="selectLoanApplicationList" parameterType="LoanApplication" resultMap="LoanApplicationResult">
         <include refid="selectLoanApplicationVo"/>
         <include refid="selectLoanApplicationVo"/>
         <where>  
         <where>  
+            <if test="loanApplicationNumber != null and loanApplicationNumber != ''"> and loan_application_number = #{loanApplicationNumber}</if>
             <if test="applicationAmount != null "> and application_amount = #{applicationAmount}</if>
             <if test="applicationAmount != null "> and application_amount = #{applicationAmount}</if>
             <if test="applicationType != null and applicationType != ''"> and application_type = #{applicationType}</if>
             <if test="applicationType != null and applicationType != ''"> and application_type = #{applicationType}</if>
             <if test="applicationBank != null  and applicationBank != ''"> and application_bank = #{applicationBank}</if>
             <if test="applicationBank != null  and applicationBank != ''"> and application_bank = #{applicationBank}</if>