This commit is contained in:
linfso 2024-12-27 11:50:38 +08:00
parent 564acaa33c
commit 24fd62e0ce

View File

@ -260,12 +260,12 @@
) tbe on tba.salesmen=tbe.salesmen and tba.billMonth=tbe.billMonth
where 1=1
<!-- 超期回款 -->
<if test="params.isNeedRecdPay != null and params.isNeedRecdPay=1">
and tba.totalNoRecdPayMoney <![CDATA[ > ]] 0
and tba.totalNoRecdPayMoney <![CDATA[ > ]]> 0
and (
ifnull( tbe.expiredNoRecdPayMoney, 0 ) <![CDATA[ > ]] 0
or ( tba.recPayMoney - ifnull( tbc.recdPayMoney, 0 )) <![CDATA[ > ]] 0
ifnull( tbe.expiredNoRecdPayMoney, 0 ) <![CDATA[ > ]]> 0
or
( tba.recPayMoney - ifnull( tbc.recdPayMoney, 0 ) ) <![CDATA[ > ]]> 0
)
</if>