组织人员树避免死循环

This commit is contained in:
sxu 2025-06-17 11:17:11 +08:00
parent 98c08fc986
commit 319e98f1a3
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
UNION
SELECT
su.user_id AS deptId,
CONCAT(sd.dept_id,'9999',su.user_id) AS deptId,
sd.dept_id AS parentId,
su.nick_name AS deptName,
99 AS LEVEL