This commit is contained in:
linfso 2024-12-27 11:44:14 +08:00
parent cb25d666f4
commit 564acaa33c

View File

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