This commit is contained in:
linfso 2024-12-27 11:29:01 +08:00
parent 03744cad03
commit cb25d666f4

View File

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