This commit is contained in:
linfso 2025-03-11 23:04:24 +08:00
parent cf17ac5e22
commit 38ecc1885b
2 changed files with 6 additions and 6 deletions

View File

@ -64,18 +64,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and a.cur_money <![CDATA[ >= ]]> #{params.beginCurMoney}
</if>
<if test="params.endCurMoney != null and params.endCurMoney != ''">
and a.cur_money <![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)*100 <![CDATA[ >= ]]> #{params.beginCurMoneyRate}
</if>
<if test="params.endCurMoneyRate != null and params.endCurMoneyRate != ''">
and (a.cur_money/a.credit_money)*100 <![CDATA[ <= ]]> #{params.endCurMoneyRate}
and (a.cur_money/a.credit_money)*100 <![CDATA[ < ]]> #{params.endCurMoneyRate}
</if>
<if test="params.sendDate != null ">
and ( a.start_date <![CDATA[ < ]]> #{params.sendDate} ) and ( #{params.sendDate} <![CDATA[ <= ]]> a.end_date )
and ( a.start_date <![CDATA[ <= ]]> #{params.sendDate} ) and ( #{params.sendDate} <![CDATA[ < ]]> a.end_date )
</if>
<if test="params.payee != null and params.payee != ''">

View File

@ -53,18 +53,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and a.cur_money <![CDATA[ >= ]]> #{params.beginCurMoney}
</if>
<if test="params.endCurMoney != null and params.endCurMoney != ''">
and a.cur_money <![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)*100 <![CDATA[ >= ]]> #{params.beginCurMoneyRate}
</if>
<if test="params.endCurMoneyRate != null and params.endCurMoneyRate != ''">
and (a.cur_money/a.credit_money)*100 <![CDATA[ <= ]]> #{params.endCurMoneyRate}
and (a.cur_money/a.credit_money)*100 <![CDATA[ < ]]> #{params.endCurMoneyRate}
</if>
<if test="params.sendDate != null ">
and ( a.start_date <![CDATA[ < ]]> #{params.sendDate} ) and ( #{params.sendDate} <![CDATA[ <= ]]> a.end_date )
and ( a.start_date <![CDATA[ <= ]]> #{params.sendDate} ) and ( #{params.sendDate} <![CDATA[ < ]]> a.end_date )
</if>