|
|
|
@ -1628,6 +1628,9 @@ |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
and invoice_status != 0 |
|
|
|
|
and t.invoice_type in ('01','03','08','14','31') |
|
|
|
|
and t.company = #{company} |
|
|
|
|
and t.invoice_date between #{kpksrq} and #{kpjsrq} |
|
|
|
|
</select> |
|
|
|
|
<!-- and DATE_FORMAT( status_update_date, '%Y-%m' ) = DATE_FORMAT( now( ), '%Y-%m' )--> |
|
|
|
|
<!-- 普票跨年度发票 --> |
|
|
|
@ -1669,8 +1672,10 @@ |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
and invoice_status != '0' |
|
|
|
|
and (invoice_type in('01','03','08','14','31','283','161','183','185') or (invoice_type ='32' and lq_tdyslxDm='08')) |
|
|
|
|
and auth_status = '4' |
|
|
|
|
and t.invoice_type in ('01','03','08','14','31') |
|
|
|
|
and t.company = #{company} |
|
|
|
|
and t.invoice_date between #{kpksrq} and #{kpjsrq} |
|
|
|
|
</select> |
|
|
|
|
<!-- and date_format(rzh_date,'%Y-%m') = date_format(now(),'%Y-%m')--> |
|
|
|
|
<!-- 签收异常发票 --> |
|
|
|
@ -1691,6 +1696,9 @@ |
|
|
|
|
</if> |
|
|
|
|
and invoice_status != '0' |
|
|
|
|
and qs_status = '1' |
|
|
|
|
and t.invoice_type in ('01','03','08','14','31') |
|
|
|
|
and t.company = #{company} |
|
|
|
|
and t.invoice_date between #{kpksrq} and #{kpjsrq} |
|
|
|
|
</select> |
|
|
|
|
<!---- and date_format(qs_date,'%Y-%m') = date_format(now(),'%Y-%m')--> |
|
|
|
|
|
|
|
|
|