Commit 725fcf12 authored by lixiaolei's avatar lixiaolei

submit

parent 37085d2c
...@@ -111,15 +111,15 @@ ...@@ -111,15 +111,15 @@
</foreach> </foreach>
</if> </if>
<if test="minAmount != null and minAmount != '' and minAmount != 0 and maxAmount != minAmount"> <if test="minAmount != null and minAmount != '' and minAmount != 0 and maxAmount != minAmount">
and i.investment_amount &gt;= #{minAmount} and i.investment_amount &gt; #{minAmount}
</if> </if>
<if test="minAmount == 0 and maxAmount != minAmount"> <if test="minAmount == 0 and maxAmount != minAmount">
and ((i.investment_amount &gt;= #{minAmount} and ((i.investment_amount &gt; #{minAmount}
and i.investment_amount &lt; #{maxAmount}) and i.investment_amount &lt;= #{maxAmount})
or i.investment_amount is null) or i.investment_amount is null)
</if> </if>
<if test="maxAmount != null and maxAmount != '' and maxAmount != minAmount and minAmount != 0"> <if test="maxAmount != null and maxAmount != '' and maxAmount != minAmount and minAmount != 0">
and i.investment_amount &lt; #{maxAmount} and i.investment_amount &lt;= #{maxAmount}
</if> </if>
<if test="minAmount != null and minAmount != '' and maxAmount != null and maxAmount != '' and maxAmount == minAmount"> <if test="minAmount != null and minAmount != '' and maxAmount != null and maxAmount != '' and maxAmount == minAmount">
and i.investment_amount = #{minAmount} and i.investment_amount = #{minAmount}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment