md
This commit is contained in:
parent
6f9d159dce
commit
fe4618d6db
@ -205,13 +205,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
WHERE espbr.del_flag=0 and esb.del_flag=0
|
||||
and espbr.settle_bill_no=esb.settle_bill_no
|
||||
<if test="params.queryDataType != null and params.queryDataType == 1">
|
||||
b.trade_date <![CDATA[ <= ]]> esb.payment_due_date
|
||||
and b.trade_date <![CDATA[ <= ]]> esb.payment_due_date
|
||||
</if>
|
||||
<if test="params.queryDataType != null and params.queryDataType == 2">
|
||||
b.trade_date <![CDATA[ > ]]> esb.payment_due_date and b.trade_date <![CDATA[ <= ]]> DATE_SUB( esb.payment_due_date, INTERVAL - 30 DAY )
|
||||
and ( b.trade_date <![CDATA[ > ]]> esb.payment_due_date and b.trade_date <![CDATA[ <= ]]> DATE_SUB( esb.payment_due_date, INTERVAL - 30 DAY ) )
|
||||
</if>
|
||||
<if test="params.queryDataType != null and params.queryDataType == 3">
|
||||
b.trade_date <![CDATA[ > ]]> DATE_SUB( esb.payment_due_date, INTERVAL - 30 DAY )
|
||||
and b.trade_date <![CDATA[ > ]]> DATE_SUB( esb.payment_due_date, INTERVAL - 30 DAY )
|
||||
</if>
|
||||
and FIND_IN_SET(espbr.settle_bill_no,#{settleBillNo})
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user