Updated flows tree #90
|
|
@ -289,6 +289,7 @@ func (u *UserHierarchyDB) GetHierarchiesWithRelations(ctx context.Context, opts
|
|||
"uh.topic_category_id",
|
||||
"uh.topic_id",
|
||||
"uh.priority",
|
||||
"uh.target_system",
|
||||
"uh.created_at",
|
||||
"uh.updated_at",
|
||||
"sub.id", "sub.full_name", "sub.username",
|
||||
|
|
@ -350,7 +351,9 @@ func (u *UserHierarchyDB) GetHierarchiesWithRelations(ctx context.Context, opts
|
|||
|
||||
err := rows.Scan(
|
||||
&h.ID, &h.SubordinateID, &h.ApproverID, &h.DepartmentID,
|
||||
&h.TopicCategoryID, &h.TopicID, &h.Priority, &h.CreatedAt, &h.UpdatedAt,
|
||||
&h.TopicCategoryID, &h.TopicID, &h.Priority,
|
||||
&h.TargetSystem,
|
||||
&h.CreatedAt, &h.UpdatedAt,
|
||||
&h.Subordinate.ID, &h.Subordinate.FullName, &h.Subordinate.Username,
|
||||
&h.Approver.ID, &h.Approver.FullName, &h.Approver.Username,
|
||||
&h.Department.ID, &h.Department.Name,
|
||||
|
|
|
|||
Loading…
Reference in New Issue