diff --git a/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml b/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml
index 07b88854..e4ee55e0 100644
--- a/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml
+++ b/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml
@@ -553,7 +553,7 @@
from
${dxhyTertiary}.t_dx_record_invoice t
left JOIN ${dxhyDetail}.t_dx_record_invoice_detail b ON t.uuid = b.uuid
- where t.detail_yesorno = '1'
+ where '1' = '1'
AND t.create_date BETWEEN #{cjksyf} and #{cjjsyf}
@@ -666,7 +666,7 @@
from
${dxhyTertiary}.t_dx_sale_record_invoice t
left JOIN ${dxhyDetail}.t_dx_record_invoice_detail_sales b ON t.uuid = b.uuid
- where t.detail_yesorno = '1'
+ where 1 = 1
AND t.create_date between #{cjksyf} and #{cjjsyf}