|
|
|
@ -258,7 +258,7 @@ |
|
|
|
|
,t.rzh_back_msg,t.in_account_status,t.payment_status,to_char(t.payment_date,'yyyy-mm-dd')payment_date |
|
|
|
|
from t_dx_record_invoice t |
|
|
|
|
WHERE to_char(t.invoice_date,'yyyy-mm-dd') between #{kpksrq} and #{kpjsrq} |
|
|
|
|
and t.auth_status != '0' |
|
|
|
|
and t.auth_status in ('2','3','4') |
|
|
|
|
and (t.invoice_type in('01','03','08','14','31','283','161','183','185') or (t.invoice_type ='32' and t.lq_tdyslxDm='08')) |
|
|
|
|
and t.bdk_status in ('1','2') |
|
|
|
|
and t.export_mark = '0' |
|
|
|
|