From 64a1f42254c8edd6630d27e11cd42ad62255867e Mon Sep 17 00:00:00 2001 From: yishiqihuasheng <1191093413@qq.com> Date: Wed, 16 Aug 2023 14:47:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=80=E9=A1=B9=E7=A5=A8=E6=B1=A0=E6=9B=BF?= =?UTF-8?q?=E6=8D=A2=E4=B8=BA=E9=94=80=E6=96=B9=E7=A8=8E=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/ExtInvoicePoolMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml b/dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml index fcd89c46..1fd45482 100644 --- a/dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml +++ b/dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml @@ -425,7 +425,7 @@ resultMap="InvoicePoolHjResultMap" databaseId="mysql"> select count(1) hjsl,sum(t.invoice_amount)hjje,sum(t.tax_amount)hjse from t_dx_sale_record_invoice t - where t.gf_tax_no = #{gfsh} + where t.xf_tax_no = #{gfsh} and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null) AND t.create_date between #{cjksyf} and #{cjjsyf} @@ -520,7 +520,7 @@ ,t.bzr bzr ,t.comp_code compCode from t_dx_sale_record_invoice t - where t.gf_tax_no = #{gfsh} + where t.xf_tax_no = #{gfsh} and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null) AND t.create_date between #{cjksyf} and #{cjjsyf}