From 1a2311bfe7c6880658c87d425dbf2ac4632c1ab0 Mon Sep 17 00:00:00 2001 From: du <1725534722@qq.com> Date: Tue, 10 Dec 2024 16:02:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E7=BB=87=E6=9E=B6=E6=9E=84=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/mapper/UnitMapper.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/resources/mapper/UnitMapper.xml b/ruoyi-admin/src/main/resources/mapper/UnitMapper.xml index 6cb81dd..dd7ed3c 100644 --- a/ruoyi-admin/src/main/resources/mapper/UnitMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/UnitMapper.xml @@ -222,7 +222,7 @@ LEFT JOIN sys_dept d ON b.dept_id = d.dept_id WHERE d.dept_id IS NOT NULL - AND d.parent_id != 0 + GROUP BY d.dept_id, d.parent_id, @@ -256,7 +256,7 @@ LEFT JOIN sys_dept d ON b.dept_id = d.dept_id WHERE d.dept_id IS NOT NULL - AND d.parent_id != 0 + GROUP BY d.dept_id, d.parent_id, @@ -290,7 +290,7 @@ LEFT JOIN sys_dept d ON b.dept_id = d.dept_id WHERE d.dept_id IS NOT NULL - AND d.parent_id != 0 + GROUP BY d.dept_id, d.parent_id, @@ -324,7 +324,7 @@ LEFT JOIN sys_dept d ON b.dept_id = d.dept_id WHERE d.dept_id IS NOT NULL - AND d.parent_id != 0 + GROUP BY d.dept_id, d.parent_id, @@ -358,7 +358,7 @@ LEFT JOIN sys_dept d ON b.dept_id = d.dept_id WHERE d.dept_id IS NOT NULL - AND d.parent_id != 0 + GROUP BY d.dept_id, d.parent_id,