|
|
|
@ -74,7 +74,7 @@ |
|
|
|
|
voucher_number,t.ele_invoice_no, sn_voucher_number, account_period, posting_time ,image_id,t.tax_rate |
|
|
|
|
from t_dx_record_invoice t |
|
|
|
|
WHERE t.invoice_date between #{kpksrq} and #{kpjsrq} |
|
|
|
|
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.invoice_type in('01','03','08','14','31','283','161','183','185') |
|
|
|
|
and t.bdk_status in ('1','2') |
|
|
|
|
and t.export_mark = '0' |
|
|
|
|
and t.auth_status in ('2','3','4') |
|
|
|
@ -377,7 +377,7 @@ |
|
|
|
|
select count(1) hjsl,sum(t.invoice_amount)hjje,sum(t.tax_amount)hjse |
|
|
|
|
from t_dx_record_invoice t |
|
|
|
|
WHERE t.invoice_date between #{kpksrq} and #{kpjsrq} |
|
|
|
|
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.invoice_type in('01','03','08','14','31','283','161','183','185') |
|
|
|
|
and t.auth_status in ('2','3','4') |
|
|
|
|
and t.bdk_status in ('1','2') |
|
|
|
|
and t.export_mark = '0' |
|
|
|
|