From 3ad84d7e76b52c7882a7ff025d9b9e5e1668e39d Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Sun, 20 Apr 2025 09:24:48 +0800 Subject: [PATCH] dept full name --- .../src/main/resources/mapper/system/SysDeptMapper.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/bonus-modules/bonus-system/src/main/resources/mapper/system/SysDeptMapper.xml b/bonus-modules/bonus-system/src/main/resources/mapper/system/SysDeptMapper.xml index e2f7cee..c3589b0 100644 --- a/bonus-modules/bonus-system/src/main/resources/mapper/system/SysDeptMapper.xml +++ b/bonus-modules/bonus-system/src/main/resources/mapper/system/SysDeptMapper.xml @@ -85,8 +85,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND dept_id = #{deptId} --- AND (d.dept_id = #{deptId} OR d.dept_id IN ( SELECT t.dept_id FROM sys_dept t WHERE find_in_set(#{deptId}, --- ancestors) )) AND parent_id = #{parentId}