From 81ec53fe2535a1bd080f819d0429cec3fdfddc9b Mon Sep 17 00:00:00 2001 From: yefei Date: Tue, 22 Aug 2023 11:03:47 +0800 Subject: [PATCH] =?UTF-8?q?ariesy=20=E7=A5=A8=E6=B1=A0=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/ExtPaperMapper.xml | 26 ++----------------- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml b/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml index e4ee55e0..5b188305 100644 --- a/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml +++ b/dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml @@ -363,19 +363,8 @@ and t.account_period = #{accountPeriod} - - and (t.comp_code in - - #{companyCode} - - or t.comp_code is null or t.comp_code = '' - ) - - and t.comp_code = #{companyCode} - - - and (t.comp_code = '' or t.comp_code is null) + and t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null @@ -472,19 +461,8 @@ and t.invoice_source = #{invoiceSource} - - and (t.comp_code in - - #{companyCode} - - or t.comp_code is null or t.comp_code = '' - ) - - and t.comp_code = #{companyCode} - - - and (t.comp_code = '' or t.comp_code is null) + and (t.comp_code = #{companyCode} and t.comp_code = '' or t.comp_code is null) GROUP BY t.uuid ORDER BY t.create_date DESC