diff --git a/dxhy-core/src/main/resources/mapper/SgqsMapper.xml b/dxhy-core/src/main/resources/mapper/SgqsMapper.xml
index f8679aa5..11e72180 100644
--- a/dxhy-core/src/main/resources/mapper/SgqsMapper.xml
+++ b/dxhy-core/src/main/resources/mapper/SgqsMapper.xml
@@ -38,7 +38,7 @@
qs_status = '0' and source_system='0'
and t.gf_tax_no = #{gfsh}
- and comp_code = #{companyCode}
+ and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null)
and invoice_type = #{invoiceType}
diff --git a/dxhy-extend/src/main/java/com/dxhy/extend/service/caution/ExtCautionExpirationServiceImpl.java b/dxhy-extend/src/main/java/com/dxhy/extend/service/caution/ExtCautionExpirationServiceImpl.java
index 3c856b6f..556b1b68 100644
--- a/dxhy-extend/src/main/java/com/dxhy/extend/service/caution/ExtCautionExpirationServiceImpl.java
+++ b/dxhy-extend/src/main/java/com/dxhy/extend/service/caution/ExtCautionExpirationServiceImpl.java
@@ -370,7 +370,9 @@ public class ExtCautionExpirationServiceImpl extends MpBaseServiceImpl