From a4f287aa1dd6145373c53fabf3f937c64befa3d8 Mon Sep 17 00:00:00 2001
From: yishiqihuasheng <1191093413@qq.com>
Date: Thu, 31 Aug 2023 19:38:01 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/mapper/TDxCustomsRecordMapper.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml b/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml
index c90bb50a..a37f029a 100644
--- a/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml
+++ b/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml
@@ -1127,10 +1127,10 @@
t_dx_customs t inner join t_dx_customs_record r on t.customs_code = r.customs_code
where t.user_account = #{queryParams.userAccount}
- and t.gf_tax_no =#{queryParams.gfsh}
+ and r.gf_tax_no =#{queryParams.gfsh}
- and t.comp_code =#{queryParams.companyCode}
+ and (r.comp_code =#{queryParams.companyCode} or r.comp_code is null or r.comp_code = '')