From 402a6a6d90e11b3d3fc75b5bc4da9375fcb6e429 Mon Sep 17 00:00:00 2001 From: romanskijdev Date: Tue, 4 Aug 2026 13:06:00 +0300 Subject: [PATCH] Updated flows tree --- core/db/methods/user_hierarchy.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/db/methods/user_hierarchy.go b/core/db/methods/user_hierarchy.go index 3e53763..f2e1ac2 100644 --- a/core/db/methods/user_hierarchy.go +++ b/core/db/methods/user_hierarchy.go @@ -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,