From 03e4848b35897879f15ce0153839cda0171f173c Mon Sep 17 00:00:00 2001 From: itcast Date: Tue, 6 Jan 2026 19:17:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/material/index/IndexMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/index/IndexMapper.xml b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/index/IndexMapper.xml index a50bc25..47b8c34 100644 --- a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/index/IndexMapper.xml +++ b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/index/IndexMapper.xml @@ -169,7 +169,7 @@ GROUP BY on_company) t -- 按公司ID合并数据,避免同一公司多条记录 GROUP BY company_id) temp ON sd.dept_id = temp.company_id -- 公司ID关联 - WHERE sd.is_show = '1' + WHERE sd.is_show = '1' and sd.del_flag='0' -- 按公司ID分组,确保每个公司只显示一行 GROUP BY sd.dept_id, sd.dept_name