首页 > TAG信息列表 > DeptPId
c#后端树形结构递归
public async Task<List<TreeShow>> GetDepartmentTreeAll() { var list = _context.Department.ToList(); List<TreeShow> menus = new List<TreeShow>(); var menu = list.Where(m => m.DeptPId == 1c#后端树形结构递归
public async Task<List<TreeShow>> GetDepartmentTreeAll() { var list = _context.Department.ToList(); List<TreeShow> menus = new List<TreeShow>(); var menu = list.Where(m => m.DeptPId == 1