From fd240eec7778b5abc992d0f00bd3114f0059b035 Mon Sep 17 00:00:00 2001 From: yefei Date: Thu, 15 Jun 2023 22:48:58 +0800 Subject: [PATCH] =?UTF-8?q?ariesy=20=E5=A2=9E=E5=8A=A0=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E6=9C=AA=E5=85=A5=E8=B4=A6=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml | 5 ++--- dxhy-core/src/main/resources/mapper/FpZhMapper.xml | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml index 871ef232..ed25fcd5 100644 --- a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml +++ b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml @@ -105,13 +105,12 @@ - and (t.comp_code in + and t.comp_code in #{companyCode} - or t.comp_code is null or t.comp_code = '' - ) + and t.comp_code = #{companyCode} diff --git a/dxhy-core/src/main/resources/mapper/FpZhMapper.xml b/dxhy-core/src/main/resources/mapper/FpZhMapper.xml index 28250108..b6d768b3 100644 --- a/dxhy-core/src/main/resources/mapper/FpZhMapper.xml +++ b/dxhy-core/src/main/resources/mapper/FpZhMapper.xml @@ -605,14 +605,12 @@ - and (t.comp_code in + and t.comp_code in #{companyCode} - or t.comp_code is null or t.comp_code = '' - ) - + and t.comp_code = #{companyCode}