组织人员树避免死循环
This commit is contained in:
parent
98c08fc986
commit
319e98f1a3
|
|
@ -127,7 +127,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
UNION
|
UNION
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
su.user_id AS deptId,
|
CONCAT(sd.dept_id,'9999',su.user_id) AS deptId,
|
||||||
sd.dept_id AS parentId,
|
sd.dept_id AS parentId,
|
||||||
su.nick_name AS deptName,
|
su.nick_name AS deptName,
|
||||||
99 AS LEVEL
|
99 AS LEVEL
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue