–查出第一级
SELECT * FROM sys_dept
where parent_id=’ZYY-8′
update sys_dept set ancestors=0 where parent_id=’ZYY-8′
Original: https://www.cnblogs.com/Jeely/p/16040209.html
Author: DarJeely
Title: 组级节点设置
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/552111/
转载文章受原作者版权保护。转载请注明原作者出处!