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
|
WHERE espbr.del_flag=0 and esb.del_flag=0
|
||||||
and espbr.settle_bill_no=esb.settle_bill_no
|
and espbr.settle_bill_no=esb.settle_bill_no
|
||||||
<if test="params.queryDataType != null and params.queryDataType == 1">
|
<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>
|
||||||
<if test="params.queryDataType != null and params.queryDataType == 2">
|
<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>
|
||||||
<if test="params.queryDataType != null and params.queryDataType == 3">
|
<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>
|
</if>
|
||||||
and FIND_IN_SET(espbr.settle_bill_no,#{settleBillNo})
|
and FIND_IN_SET(espbr.settle_bill_no,#{settleBillNo})
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user