部门树形结构 全部查询
表结构CREATE TABLE `dept` ( `id` int(32) NOT NULL AUTO_INCREMENT, `dept_name` varchar(255) DEFAULT NULL, `pid` int(32) DEFAULT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;数据INSERT INTO `dev_help`.`dept`(`id`,