This commit is contained in:
linfso 2025-05-16 15:33:21 +08:00
parent c16accd640
commit 8ed6ac6506

View File

@ -319,7 +319,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and b.trade_date <![CDATA[ <= ]]> esb.payment_due_date
</if>
<if test="params.queryDataType != null and params.queryDataType == 2">
and ( b.trade_date <![CDATA[ > ]]> esb.payment_due_date and b.trade_date <![CDATA[ < ]]> DATE_SUB( esb.payment_due_date, INTERVAL (esb.credit_period-60) DAY ) DAY ) )
and ( b.trade_date <![CDATA[ > ]]> esb.payment_due_date and b.trade_date <![CDATA[ < ]]> DATE_SUB( esb.payment_due_date, INTERVAL (esb.credit_period-60) DAY ) )
</if>
<if test="params.queryDataType != null and params.queryDataType == 3">
and b.trade_date <![CDATA[ >= ]]> DATE_SUB( esb.payment_due_date, INTERVAL - (esb.credit_period-60) DAY )