|
|
|
@ -87,7 +87,7 @@ |
|
|
|
|
WHERE t.invoice_date between #{kpksrq} and #{kpjsrq} |
|
|
|
|
and t.invoice_type in('01','03','08','14','31','283','161','183','185') |
|
|
|
|
and t.rzh_yesorno = '0' |
|
|
|
|
and t.auth_status in('0','5','6') |
|
|
|
|
and t.auth_status in('0','2','3','5','6') |
|
|
|
|
and t.export_mark = '0' |
|
|
|
|
and t.inaccount_status = '1' |
|
|
|
|
and t.company = #{company} |
|
|
|
@ -427,7 +427,7 @@ |
|
|
|
|
WHERE t.invoice_date between #{kpksrq} and #{kpjsrq} |
|
|
|
|
and t.invoice_type in('01','03','08','14','31','283','161','183','185') |
|
|
|
|
and t.rzh_yesorno = '0' |
|
|
|
|
and t.auth_status in('0','5','6') |
|
|
|
|
and t.auth_status in('0','2','3','5','6') |
|
|
|
|
and t.inaccount_status = '1' |
|
|
|
|
and t.export_mark = '0' |
|
|
|
|
and t.company = #{company} |
|
|
|
|