瀏覽代碼

组织架构

kobe6258 6 月之前
父節點
當前提交
78057a8890
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/sys_department.go

+ 1 - 1
services/sys_department.go

@@ -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