md
This commit is contained in:
parent
8456875983
commit
d785f75c46
@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="curMoneyRate != null "> and a.cur_money_rate = #{curMoneyRate}</if>
|
<if test="curMoneyRate != null "> and a.cur_money_rate = #{curMoneyRate}</if>
|
||||||
<if test="creditMoney != null "> and a.credit_money = #{creditMoney}</if>
|
<if test="creditMoney != null "> and a.credit_money = #{creditMoney}</if>
|
||||||
<if test="currency != null and currency != ''"> and a.currency like concat('%', #{currency}, '%')</if>
|
<if test="currency != null and currency != ''"> and a.currency like concat('%', #{currency}, '%')</if>
|
||||||
<if test="transType != null and transType != ''"> and a.trans_type like concat('%', #{transType}, '%')</if>
|
<if test="transType != null and transType != ''"> and FIND_IN_SET(#{params.transType},a.trans_type)</if>
|
||||||
<if test="startDate != null "> and a.start_date = #{startDate}</if>
|
<if test="startDate != null "> and a.start_date = #{startDate}</if>
|
||||||
<if test="endDate != null "> and a.end_date = #{endDate}</if>
|
<if test="endDate != null "> and a.end_date = #{endDate}</if>
|
||||||
<if test="blOpen != null and blOpen != ''"> and a.bl_open like concat('%', #{blOpen}, '%')</if>
|
<if test="blOpen != null and blOpen != ''"> and a.bl_open like concat('%', #{blOpen}, '%')</if>
|
||||||
@ -55,6 +55,29 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="updateTime != null "> and a.update_time = #{updateTime}</if>
|
<if test="updateTime != null "> and a.update_time = #{updateTime}</if>
|
||||||
<if test="createSite != null and createSite != ''"> and a.create_site like concat('%', #{createSite}, '%')</if>
|
<if test="createSite != null and createSite != ''"> and a.create_site like concat('%', #{createSite}, '%')</if>
|
||||||
<if test="updateSite != null and updateSite != ''"> and a.update_site like concat('%', #{updateSite}, '%')</if>
|
<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}
|
||||||
|
</if>
|
||||||
|
<if test="params.endCurMoney != null and params.endCurMoney != ''">
|
||||||
|
and a.curMoney <![CDATA[ <= ]]> #{params.endCurMoney}
|
||||||
|
</if>
|
||||||
|
|
||||||
|
<if test="params.beginCurMoneyRateRange != null and params.beginCurMoneyRateRange != ''">
|
||||||
|
and a.cur_money_rate <![CDATA[ >= ]]> #{params.beginCurMoneyRateRange}
|
||||||
|
</if>
|
||||||
|
<if test="params.endCurMoneyRateRange != null and params.endCurMoneyRateRange != ''">
|
||||||
|
and a.cur_money_rate <![CDATA[ <= ]]> #{params.endCurMoneyRateRange}
|
||||||
|
</if>
|
||||||
|
|
||||||
|
<if test="params.payee != null and params.payee != ''">
|
||||||
|
and b.payee = #{params.payee}
|
||||||
|
</if>
|
||||||
|
|
||||||
|
<if test="params.salesmen != null and params.salesmen != ''">
|
||||||
|
and b.salesmen = #{params.salesmen}
|
||||||
|
</if>
|
||||||
|
|
||||||
</where>
|
</where>
|
||||||
order by a.create_time desc
|
order by a.create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user