diff --git a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml
index 21f528ab..e781c0a8 100644
--- a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml
+++ b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml
@@ -77,6 +77,7 @@
and t.rzh_yesorno = '0'
and t.auth_status in('0','5','6')
and t.export_mark = '0'
+ and t.inaccount_status = '1'
and t.company = #{company}
and t.invoice_status in ('0','7')
@@ -133,10 +134,10 @@
and t.qs_status = #{qszt}
- and t.bzdh = #{bzdh} and t.inaccount_status = '1'
+ and t.bzdh = #{bzdh}
- and t.bzdh is not null and t.inaccount_status = '1'
+ and t.bzdh is not null
and t.inaccount_status = #{inAccountStatus}