@@ -21,7 +21,7 @@ func GetSysDepartmentTree(list []*models.SysDepartmentList, parentId int, deepth
}
if v.ParentId == parentId {
t := new(models.SysDepartmentList)
- t.SysDepartmentId = v.SysDepartmentId
+ t.SysDepartmentId = v.OutId
t.SysDepartmentName = v.SysDepartmentName
t.OutId = v.OutId
t.Type = v.Type