From e7b8f0abcd57f2d1e5056fc7f5c51c407341ae14 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Wed, 24 Dec 2025 13:45:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/xml/NuBizSuppliersApplyMapper.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizSuppliers/mapper/xml/NuBizSuppliersApplyMapper.xml b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizSuppliers/mapper/xml/NuBizSuppliersApplyMapper.xml index 1dc6bcb..897e22e 100644 --- a/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizSuppliers/mapper/xml/NuBizSuppliersApplyMapper.xml +++ b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizSuppliers/mapper/xml/NuBizSuppliersApplyMapper.xml @@ -12,9 +12,9 @@ o.org_address, s.`status` as suppliers_status from sys_depart d - left join nu_org_apply_info o on d.id = o.pk_id and o.status = '2' + left join nu_org_apply_info o on d.id = o.pk_id left join nu_biz_suppliers_org s on d.org_code = s.org_code and s.iz_history = 'N' and s.open_id = #{openId} - where 1=1 and d.server_url is not null + where 1=1 and d.server_url is not null and o.status = '2' and d.del_flag = '0' and d.org_code IN @@ -33,12 +33,13 @@ d.server_url, o.org_leader, o.org_leader_phone, - o.org_address, - s.`status` as suppliers_status + o.org_address + ,s.`status` as suppliers_status from sys_depart d - left join nu_org_apply_info o on d.id = o.pk_id and o.status = '2' - left join nu_biz_suppliers_org s on d.org_code = s.org_code and s.iz_history = 'N' - where 1=1 and s.open_id = #{openId} and d.server_url is not null + left join nu_org_apply_info o on d.id = o.pk_id + left join nu_biz_suppliers_org s on d.org_code = s.org_code + where 1=1 and o.status = '2' and d.del_flag = '0' and d.server_url is not null and s.iz_history = 'N' + and s.open_id = #{openId} and d.org_code IN