From d78ed41566ddafc9b7fe0401000b0246fc87d837 Mon Sep 17 00:00:00 2001 From: yishiqihuasheng <1191093413@qq.com> Date: Wed, 31 May 2023 20:59:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E9=A1=B9=E5=92=8C=E9=94=80=E9=A1=B9?= =?UTF-8?q?=E7=A5=A8=E6=B1=A0=E5=AF=BC=E5=87=BA=E6=9D=A1=E4=BB=B6=E4=B8=8E?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E4=BF=9D=E6=8C=81=E4=B8=80?= =?UTF-8?q?=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}