This commit is contained in:
linfso 2024-07-09 16:48:34 +08:00
parent 66e308d7af
commit 4df9fcadde

View File

@ -102,6 +102,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and a.dispatch_underling_site_code = #{params.dispatchUnderlingSiteCode}
</if>
<if test="params.mergeStatus != null and params.mergeStatus == 1">
and b.settle_bill_no is null
</if>
<if test="params.mergeStatus != null and params.mergeStatus == 2">
and b.settle_bill_no is not null
</if>
<if test="params.payee != null and params.payee != ''">
and a.payee = #{params.payee}
</if>
@ -205,6 +213,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and a.dispatch_underling_site_code = #{params.dispatchUnderlingSiteCode}
</if>
<if test="params.mergeStatus != null and params.mergeStatus == 1">
and b.settle_bill_no is null
</if>
<if test="params.mergeStatus != null and params.mergeStatus == 2">
and b.settle_bill_no is not null
</if>
<if test="params.payee != null and params.payee != ''">
and a.payee = #{params.payee}
</if>