|
@@ -157,8 +157,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectLoanAfterList" parameterType="LoanApplication" resultMap="LoanApplicationResult">
|
|
|
<include refid="selectLoanApplicationVo"/>
|
|
|
- <where> (#{actuallyTime}>DATE_ADD(actually_time,INTERVAL 30 DAY)
|
|
|
- or #{actuallyTime}>DATE_ADD(actually_time,INTERVAL 180 DAY))
|
|
|
+ <where>
|
|
|
+ #{actuallyTime}>DATE_ADD(actually_time,INTERVAL 30 DAY)
|
|
|
<if test="enterpriseName != null and enterpriseName != ''"> and enterprise_name like concat('%', #{enterpriseName}, '%')</if>
|
|
|
<if test="loanAfterType != null and loanAfterType != ''"> and loan_after_type = #{loanAfterType}</if>
|
|
|
</where>
|