From 54efe79f7e4c40a1bef5d92c23022fb5f9e4f0c6 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Thu, 5 Feb 2026 14:16:38 +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 --- .../bizSuppliers/mapper/xml/NuBizSuppliersApplyMapper.xml | 4 ++-- .../service/impl/NuBizSuppliersApplyServiceImpl.java | 1 + 2 files changed, 3 insertions(+), 2 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 1a02ed9..7022f0c 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 @@ -38,9 +38,9 @@ ,s.`status` as suppliers_status ,s.audit_content from sys_depart d - left join nu_org_apply_info o on d.id = o.pk_id + 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 - where 1=1 and o.status in ('2','4','5') and d.del_flag = '0' and s.iz_history = 'N' + where 1=1 and d.del_flag = '0' and s.iz_history = 'N' and s.open_id = #{openId} and d.org_code IN diff --git a/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizSuppliers/service/impl/NuBizSuppliersApplyServiceImpl.java b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizSuppliers/service/impl/NuBizSuppliersApplyServiceImpl.java index 54ebe80..9dbb7c5 100644 --- a/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizSuppliers/service/impl/NuBizSuppliersApplyServiceImpl.java +++ b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizSuppliers/service/impl/NuBizSuppliersApplyServiceImpl.java @@ -228,6 +228,7 @@ public class NuBizSuppliersApplyServiceImpl extends ServiceImpl queryWrapper = new QueryWrapper<>(); queryWrapper.eq("open_id", openId); + queryWrapper.orderByDesc("create_time"); List list = baseMapper.selectList(queryWrapper); if (list.size() > 0) { SuppliersApplyEntity suppliersApplyEntity = new SuppliersApplyEntity();