正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -50,7 +50,7 @@ func (dto *DepartmentUsersDto) LoadDto(dataType int, subDepartment *allied_creat | @@ -50,7 +50,7 @@ func (dto *DepartmentUsersDto) LoadDto(dataType int, subDepartment *allied_creat | ||
50 | DepartmentName: "共创部门", | 50 | DepartmentName: "共创部门", |
51 | Users: make([]User, 0), | 51 | Users: make([]User, 0), |
52 | } | 52 | } |
53 | - | 53 | + dto.Departments = append(dto.Departments, mapDepartment[-1]) |
54 | for i := range subDepartment.Orgs { | 54 | for i := range subDepartment.Orgs { |
55 | org := subDepartment.Orgs[i] | 55 | org := subDepartment.Orgs[i] |
56 | dep := &Department{ | 56 | dep := &Department{ |
-
请 注册 或 登录 后发表评论