|
|
|
@ -73,12 +73,10 @@ |
|
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
<if |
|
|
|
|
test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> |
|
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> |
|
|
|
|
and t.invoice_type = #{invoiceType} |
|
|
|
|
</if> |
|
|
|
|
<if |
|
|
|
|
test="invoiceStatus != null and invoiceStatus != '' and invoiceStatus != 'null' and invoiceStatus != '99'"> |
|
|
|
|
<if test="invoiceStatus != null and invoiceStatus != '' and invoiceStatus != 'null' and invoiceStatus != '99'"> |
|
|
|
|
and t.invoice_status = #{invoiceStatus} |
|
|
|
|
</if> |
|
|
|
|
<if test="qszt != null and qszt != '' and qszt != 'null' and qszt != '99'"> |
|
|
|
@ -126,8 +124,7 @@ |
|
|
|
|
<if test="snVoucherNumber != null and snVoucherNumber != '' and snVoucherNumber != 'null' and snVoucherNumber != '99'"> |
|
|
|
|
and t.sn_voucher_number = #{snVoucherNumber} |
|
|
|
|
</if> |
|
|
|
|
<if |
|
|
|
|
test="inAccountMonth != null and inAccountMonth != null and inAccountMonth != '' and inAccountMonth != ''"> |
|
|
|
|
<if test="inAccountMonth != null and inAccountMonth != null and inAccountMonth != '' and inAccountMonth != ''"> |
|
|
|
|
and DATE_FORMAT(t.payment_date,'%Y-%m') = #{inAccountMonth} |
|
|
|
|
</if> |
|
|
|
|
<if test="invoiceSource!=null and invoiceSource!='' and invoiceSource!='99'"> |
|
|
|
@ -179,7 +176,7 @@ |
|
|
|
|
t.account_period accountPeriod, |
|
|
|
|
t.inaccount_status inAccountStatus, |
|
|
|
|
t.bzdh bzdh, |
|
|
|
|
t.posting_time postingTime |
|
|
|
|
t.posting_time postingTime, |
|
|
|
|
DATE_FORMAT(t.collect_date,'%Y-%m-%d') collectDate, |
|
|
|
|
t.collect_from collectFrom |
|
|
|
|
from t_dx_record_invoice t |
|
|
|
|