From cf368db9af79a42618feced45e9a80e368eab920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=88=E5=B1=95=E8=88=AA?= <2426745133@qq.com> Date: Thu, 13 Nov 2025 19:27:18 +0800 Subject: [PATCH] =?UTF-8?q?11-13-=E4=BF=AE=E6=94=B9=E9=93=B6=E8=A1=8C?= =?UTF-8?q?=E7=9B=B8=E5=85=B3SQL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/xzd/XzdSupplierInfoMapper.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/resources/mapper/xzd/XzdSupplierInfoMapper.xml b/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/resources/mapper/xzd/XzdSupplierInfoMapper.xml index 66e5b226..67c71e0d 100644 --- a/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/resources/mapper/xzd/XzdSupplierInfoMapper.xml +++ b/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/resources/mapper/xzd/XzdSupplierInfoMapper.xml @@ -37,7 +37,8 @@ LEFT JOIN xzd_supplier_supplement as supplement ON info.id = supplement.supplier_id LEFT JOIN xzd_settlement_info as settlement ON info.id = settlement.customerinformation_id LEFT JOIN xzd_contact as contact ON info.id = contact.customerinformation_id AND contact.type like '2' AND contact.is_main_contact = 1 - LEFT JOIN xzd_supplier_open_bank as bank ON info.id = bank.Supplier_id AND bank.is_default = 1 + LEFT JOIN xzd_yhxx as yhxx ON info.id = yhxx.main_id + LEFT JOIN xzd_supplier_open_bank as bank ON yhxx.yh_id = bank.id AND bank.is_default = 1