diff --git a/dxhy-extend/src/main/resources/mapper/index/ExtIndexStatisticsMapper.xml b/dxhy-extend/src/main/resources/mapper/index/ExtIndexStatisticsMapper.xml index a8e1631c..5c134f37 100644 --- a/dxhy-extend/src/main/resources/mapper/index/ExtIndexStatisticsMapper.xml +++ b/dxhy-extend/src/main/resources/mapper/index/ExtIndexStatisticsMapper.xml @@ -1628,6 +1628,9 @@ 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} @@ -1669,8 +1672,10 @@ 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} @@ -1691,6 +1696,9 @@ 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}