md
This commit is contained in:
parent
1bdc749017
commit
2b645affc1
@ -61,17 +61,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateSite != null and updateSite != ''"> and a.update_site like concat('%', #{updateSite}, '%')</if>
|
||||
|
||||
<if test="params.beginCurMoney != null and params.beginCurMoney != ''">
|
||||
and a.curMoney <![CDATA[ >= ]]> #{params.beginCurMoney}
|
||||
and a.cur_money <![CDATA[ >= ]]> #{params.beginCurMoney}
|
||||
</if>
|
||||
<if test="params.endCurMoney != null and params.endCurMoney != ''">
|
||||
and a.curMoney <![CDATA[ <= ]]> #{params.endCurMoney}
|
||||
and a.cur_money <![CDATA[ <= ]]> #{params.endCurMoney}
|
||||
</if>
|
||||
|
||||
<if test="params.beginCurMoneyRate != null and params.beginCurMoneyRate != ''">
|
||||
and a.cur_money_rate <![CDATA[ >= ]]> #{params.beginCurMoneyRate}
|
||||
and (a.cur_money/a.credit_money) <![CDATA[ >= ]]> #{params.beginCurMoneyRate}
|
||||
</if>
|
||||
<if test="params.endCurMoneyRate != null and params.endCurMoneyRate != ''">
|
||||
and a.cur_money_rate <![CDATA[ <= ]]> #{params.endCurMoneyRate}
|
||||
and (a.cur_money/a.credit_money) <![CDATA[ <= ]]> #{params.endCurMoneyRate}
|
||||
</if>
|
||||
|
||||
<if test="params.sendDate != null ">
|
||||
|
||||
@ -50,22 +50,24 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
|
||||
<if test="params.beginCurMoney != null and params.beginCurMoney != ''">
|
||||
and a.curMoney <![CDATA[ >= ]]> #{params.beginCurMoney}
|
||||
and a.cur_money <![CDATA[ >= ]]> #{params.beginCurMoney}
|
||||
</if>
|
||||
<if test="params.endCurMoney != null and params.endCurMoney != ''">
|
||||
and a.curMoney <![CDATA[ <= ]]> #{params.endCurMoney}
|
||||
and a.cur_money <![CDATA[ <= ]]> #{params.endCurMoney}
|
||||
</if>
|
||||
|
||||
<if test="params.beginCurMoneyRate != null and params.beginCurMoneyRate != ''">
|
||||
and (a.cur_money/a.credit_money) <![CDATA[ >= ]]> #{params.beginCurMoneyRate}
|
||||
</if>
|
||||
<if test="params.endCurMoneyRate != null and params.endCurMoneyRate != ''">
|
||||
and (a.cur_money/a.credit_money) <![CDATA[ <= ]]> #{params.endCurMoneyRate}
|
||||
</if>
|
||||
|
||||
<if test="params.sendDate != null ">
|
||||
and ( a.start_date <![CDATA[ < ]]> #{params.sendDate} ) and ( #{params.sendDate} <![CDATA[ <= ]]> a.end_date )
|
||||
</if>
|
||||
|
||||
<if test="params.beginCurMoneyRate != null and params.beginCurMoneyRate != ''">
|
||||
and a.cur_money_rate <![CDATA[ >= ]]> #{params.beginCurMoneyRate}
|
||||
</if>
|
||||
<if test="params.endCurMoneyRate != null and params.endCurMoneyRate != ''">
|
||||
and a.cur_money_rate <![CDATA[ <= ]]> #{params.endCurMoneyRate}
|
||||
</if>
|
||||
|
||||
|
||||
</where>
|
||||
order by create_time desc
|
||||
|
||||
Loading…
Reference in New Issue
Block a user