????

Your IP : 18.217.1.165


Current Path : C:/inetpub/vhost/donthu.gdtsolutions.vn/api/logs/
Upload File :
Current File : C:/inetpub/vhost/donthu.gdtsolutions.vn/api/logs/stdout_20250210025415_4380.log

warn: Microsoft.EntityFrameworkCore.Model.Validation[10622]
      Entity 'Action' has a global query filter defined and is the required end of a relationship with the entity 'ConfigAction'. This may lead to unexpected results when the required entity is filtered out. Either configure the navigation as optional, or define matching query filters for both entities in the navigation. See https://go.microsoft.com/fwlink/?linkid=2131316 for more information.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (54ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (31ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [MigrationId], [ProductVersion]
      FROM [__EFMigrationsHistory]
      ORDER BY [MigrationId];
info: Microsoft.EntityFrameworkCore.Migrations[20405]
      No migrations were applied. The database is already up to date.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (52ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedName] = @__normalizedName_0
System.Exception: The instance of entity type 'Role' cannot be tracked because another instance with the same key value for {'Id'} is already being tracked. When attaching existing entities, ensure that only one entity instance with a given key value is attached. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values.
   at GDT.WebApi.Admin.Models.SeedSuperAdminExtension.SeedRole(RoleManager`1 roleManager, ILogger logger) in D:\source\GDT\GDT_KNTC\backend\src\WebApis\GDT.WebApi.Admin\Models\SeedSuperAdminExtension.cs:line 193
   at GDT.WebApi.Admin.Models.SeedSuperAdminExtension.SeedSuperAdmin(IApplicationBuilder app) in D:\source\GDT\GDT_KNTC\backend\src\WebApis\GDT.WebApi.Admin\Models\SeedSuperAdminExtension.cs:line 27
warn: Microsoft.EntityFrameworkCore.Model.Validation[20601]
      The 'bool' property 'IsCongDanDen' on entity type 'TiepDan' is configured with a database-generated default. This default will always be used for inserts when the property has the value 'false', since this is the CLR default for the 'bool' type. Consider using the nullable 'bool?' type instead, so that the default will only be used for inserts when the property value is 'null'.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [MigrationId], [ProductVersion]
      FROM [__EFMigrationsHistory]
      ORDER BY [MigrationId];
info: Microsoft.EntityFrameworkCore.Migrations[20405]
      No migrations were applied. The database is already up to date.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMNhomThamQuyenGiaiQuyet] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMCapHanhChinh] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMLoaiVanBan] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMHinhThucTiepDan] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMHinhThucXuLyDon] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMTrangThaiXuLyDon] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMPhanTheoThamQuyen] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMLoaiHinhTiepNhan] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMXuLyTiepDan] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMLinhVuc] AS [d]

              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMNhiemKy] AS [d]

              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMDanToc] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMTinh] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMHuyen] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMXa] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMQuocGia] AS [d]

              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [Organization] AS [o]
              WHERE [o].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [ConfigDonThu] AS [c]
              WHERE [c].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DMPhanTheoNoiDung] AS [d]
              WHERE [d].[DeletedDate] IS NULL) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [MigrationId], [ProductVersion]
      FROM [__EFMigrationsHistory]
      ORDER BY [MigrationId];
info: Microsoft.EntityFrameworkCore.Migrations[20405]
      No migrations were applied. The database is already up to date.
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\inetpub\vhost\donthu.gdtsolutions.vn\api
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (49ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (26ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      
      IF EXISTS
          (SELECT *
           FROM [sys].[objects] o
           WHERE [o].[type] = 'U'
           AND [o].[is_ms_shipped] = 0
           AND NOT EXISTS (SELECT *
               FROM [sys].[extended_properties] AS [ep]
               WHERE [ep].[major_id] = [o].[object_id]
                   AND [ep].[minor_id] = 0
                   AND [ep].[class] = 1
                   AND [ep].[name] = N'microsoft_database_tools_support'
          )
      )
      SELECT 1 ELSE SELECT 0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND (COALESCE(UPPER([e].[Method]), '') + ': ') + COALESCE(LOWER([e].[PathTemplate]), '') NOT IN ('GET: api/default/public/playercontrol/gettest', 'GET: api/default/allow/canbowithroles', 'GET: api/default/allow/canbowithroles/getbyorganization', 'GET: api/default/auth/logactions', 'GET: api/default/auth/logactions({key})', 'POST: api/default/auth/canbos/createuser', 'POST: api/default/auth/canbos/creategroupuserdemo', 'DELETE: api/default/auth/storage/delete', 'GET: api/default/allow/storage/download/{**path}', 'HEAD: api/default/allow/storage/download/{**path}', 'GET: api/default/allow/userinfo/userinfo')
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (33ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      
      IF EXISTS
          (SELECT *
           FROM [sys].[objects] o
           WHERE [o].[type] = 'U'
           AND [o].[is_ms_shipped] = 0
           AND NOT EXISTS (SELECT *
               FROM [sys].[extended_properties] AS [ep]
               WHERE [ep].[major_id] = [o].[object_id]
                   AND [ep].[minor_id] = 0
                   AND [ep].[class] = 1
                   AND [ep].[name] = N'microsoft_database_tools_support'
          )
      )
      SELECT 1 ELSE SELECT 0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (9ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (257ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND (COALESCE(UPPER([e].[Method]), '') + ': ') + COALESCE(LOWER([e].[PathTemplate]), '') NOT IN ('GET: api/admin/public/configdomains', 'GET: api/admin/public/configdomains({key})', 'POST: api/admin/public/authenticate/login', 'POST: api/admin/public/authenticate/register', 'GET: api/admin/public/authenticate/danhchotuan', 'GET: api/admin/public/authenticate/gettoken', 'POST: api/admin/public/authenticate/gettokens', 'POST: api/local/accounts/themtaikhoan', 'DELETE: api/local/accounts/deleteuser', 'POST: api/local/accounts/getdevicesbyuser', 'PATCH: api/local/accounts/updateemailorgan', 'GET: api/local/accounts/getemailorgan', 'GET: api/local/accounts/existemail', 'DELETE: api/local/accounts/offaccount', 'GET: api/local/authenticate/authoriseendpoint', 'GET: api/local/authenticate/loginlgsp', 'GET: api/admin/auth/accounts', 'GET: api/admin/auth/accounts({key})', 'POST: api/admin/auth/accounts', 'PATCH: api/admin/auth/accounts({key})', 'DELETE: api/admin/auth/accounts({key})', 'GET: api/admin/auth/authorizedroles', 'GET: api/admin/auth/authorizedroles({key})', 'POST: api/admin/auth/configdomains', 'PATCH: api/admin/auth/configdomains({key})', 'DELETE: api/admin/auth/configdomains({key})', 'POST: api/admin/auth/configsystems', 'PATCH: api/admin/auth/configsystems({key})', 'DELETE: api/admin/auth/configsystems({key})', 'GET: api/admin/auth/endpoints', 'GET: api/admin/auth/endpoints({key})', 'POST: api/admin/auth/menus', 'PATCH: api/admin/auth/menus({key})', 'DELETE: api/admin/auth/menus({key})', 'POST: api/admin/auth/roles', 'PATCH: api/admin/auth/roles({key})', 'DELETE: api/admin/auth/roles({key})', 'POST: api/admin/auth/accounts/themvaitro', 'POST: api/admin/auth/accounts/updatechitiettaikhoan', 'POST: api/admin/auth/accounts/themtaikhoan', 'GET: api/admin/auth/accounts/resetpassword', 'GET: api/admin/auth/accounts/lockoutoff', 'POST: api/admin/auth/accounts/changepass', 'GET: api/admin/auth/endpoints/endpointgroups', 'POST: api/admin/auth/roles/themmenus', 'POST: api/admin/auth/roles/themendpoints', 'POST: api/admin/auth/roles/themaction', 'DELETE: api/admin/auth/roles/xoaaction', 'GET: api/admin/allow/accountdevices', 'GET: api/admin/allow/accountdevices({key})', 'POST: api/admin/allow/accountdevices', 'PATCH: api/admin/allow/accountdevices({key})', 'DELETE: api/admin/allow/accountdevices({key})', 'GET: api/admin/allow/menus', 'GET: api/admin/allow/menus({key})', 'GET: api/admin/allow/roles', 'GET: api/admin/allow/roles({key})', 'GET: api/admin/allow/accounts/ischangepass', 'POST: api/admin/allow/accounts/changepassword', 'GET: api/admin/allow/accounts/chitiettaikhoan', 'POST: api/admin/allow/accounts/getavatar', 'GET: api/admin/allow/accounts/updateorgan', 'POST: api/admin/allow/accounts/uploadavatar', 'GET: api/admin/allow/accounts/danhsachvaitro', 'GET: api/admin/allow/accounts/menus', 'DELETE: api/admin/allow/authenticate/logout', 'POST: api/admin/allow/upload/upload', 'GET: api/admin/allow/upload/listfiles', 'GET: api/admin/allow/upload/download', 'GET: api/admin/allow/upload/download/{**path}', 'DELETE: api/admin/allow/upload/delete/{**path}')
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: AWSSDK[0]
      Found AWS credentials for the profile minio
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (332ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      
      IF EXISTS
          (SELECT *
           FROM [sys].[objects] o
           WHERE [o].[type] = 'U'
           AND [o].[is_ms_shipped] = 0
           AND NOT EXISTS (SELECT *
               FROM [sys].[extended_properties] AS [ep]
               WHERE [ep].[major_id] = [o].[object_id]
                   AND [ep].[minor_id] = 0
                   AND [ep].[class] = 1
                   AND [ep].[name] = N'microsoft_database_tools_support'
          )
      )
      SELECT 1 ELSE SELECT 0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (32ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (115ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (11ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (403ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (485ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND (COALESCE(UPPER([e].[Method]), '') + ': ') + COALESCE(LOWER([e].[PathTemplate]), '') NOT IN ('GET: api/buss/public/dmcaphanhchinhs', 'GET: api/buss/public/dmcaphanhchinhs({key})', 'GET: api/buss/public/dmhuyens/getbyuser', 'GET: api/buss/public/dmhuyens', 'GET: api/buss/public/dmhuyens({key})', 'GET: api/buss/public/dmquocgias', 'GET: api/buss/public/dmquocgias({key})', 'GET: api/buss/public/dmtinhs/getbyuser', 'GET: api/buss/public/dmtinhs', 'GET: api/buss/public/dmtinhs({key})', 'GET: api/buss/public/dmxas/getbyuser', 'GET: api/buss/public/dmxas', 'GET: api/buss/public/dmxas({key})', 'POST: api/buss/auth/canbos', 'PATCH: api/buss/auth/canbos({key})', 'POST: api/buss/auth/configdonthus', 'PATCH: api/buss/auth/configdonthus({key})', 'DELETE: api/buss/auth/configdonthus({key})', 'POST: api/buss/auth/donthucanbotiepnhans', 'POST: api/buss/auth/donthucanboxulys', 'POST: api/buss/auth/donthucoquandagiaiquyets', 'PATCH: api/buss/auth/donthucoquandagiaiquyets({key})', 'DELETE: api/buss/auth/donthucoquandagiaiquyets({key})', 'POST: api/buss/auth/donthunguoidungdons', 'DELETE: api/buss/auth/donthunguoidungdons(donthuid={key},thongtincanhanid={key1})', 'POST: api/buss/auth/donthunguoiuyquyens', 'PATCH: api/buss/auth/donthunguoiuyquyens({key})', 'POST: api/buss/auth/donthus', 'PATCH: api/buss/auth/donthus({key})', 'DELETE: api/buss/auth/donthus({key})', 'POST: api/buss/auth/donthuthuchiens', 'PATCH: api/buss/auth/donthuthuchiens({key})', 'DELETE: api/buss/auth/donthuthuchiens({key})', 'POST: api/buss/auth/donthututheodois', 'DELETE: api/buss/auth/donthututheodois(donthuid={key})', 'POST: api/buss/auth/donthuxulycanbos', 'POST: api/buss/auth/donthuxulychuyendons', 'PATCH: api/buss/auth/donthuxulychuyendons({key})', 'DELETE: api/buss/auth/donthuxulychuyendons({key})', 'POST: api/buss/auth/donthuxulydondocs', 'DELETE: api/buss/auth/donthuxulydondocs({key})', 'POST: api/buss/auth/donthuxulys', 'PATCH: api/buss/auth/donthuxulys({key})', 'DELETE: api/buss/auth/donthuxulys({key})', 'POST: api/buss/auth/organizations', 'PATCH: api/buss/auth/organizations({key})', 'POST: api/buss/auth/thongtincanhans', 'PATCH: api/buss/auth/thongtincanhans({key})', 'POST: api/buss/auth/tiepdancanboduocuyquyens', 'POST: api/buss/auth/tiepdancanbotiepnhans', 'POST: api/buss/auth/tiepdanorganizations', 'PATCH: api/buss/auth/tiepdanorganizations({key})', 'DELETE: api/buss/auth/tiepdanorganizations({key})', 'POST: api/buss/auth/tiepdans', 'PATCH: api/buss/auth/tiepdans({key})', 'DELETE: api/buss/auth/tiepdans({key})', 'POST: api/buss/auth/tiepdanxulys', 'PATCH: api/buss/auth/tiepdanxulys({key})', 'POST: api/buss/auth/dmchucvus', 'PATCH: api/buss/auth/dmchucvus({key})', 'DELETE: api/buss/auth/dmchucvus({key})', 'POST: api/buss/auth/dmdantocs', 'PATCH: api/buss/auth/dmdantocs({key})', 'DELETE: api/buss/auth/dmdantocs({key})', 'POST: api/buss/auth/dmhinhthuctiepdans', 'PATCH: api/buss/auth/dmhinhthuctiepdans({key})', 'DELETE: api/buss/auth/dmhinhthuctiepdans({key})', 'POST: api/buss/auth/dmhinhthucxulydons', 'PATCH: api/buss/auth/dmhinhthucxulydons({key})', 'DELETE: api/buss/auth/dmhinhthucxulydons({key})', 'POST: api/buss/auth/dmlinhvucs', 'PATCH: api/buss/auth/dmlinhvucs({key})', 'DELETE: api/buss/auth/dmlinhvucs({key})', 'POST: api/buss/auth/dmloaihinhtiepnhans', 'PATCH: api/buss/auth/dmloaihinhtiepnhans({key})', 'DELETE: api/buss/auth/dmloaihinhtiepnhans({key})', 'POST: api/buss/auth/dmloaivanbans', 'PATCH: api/buss/auth/dmloaivanbans({key})', 'DELETE: api/buss/auth/dmloaivanbans({key})', 'POST: api/buss/auth/dmnhiemkys', 'PATCH: api/buss/auth/dmnhiemkys({key})', 'DELETE: api/buss/auth/dmnhiemkys({key})', 'POST: api/buss/auth/dmnhomthamquyengiaiquyets', 'PATCH: api/buss/auth/dmnhomthamquyengiaiquyets({key})', 'DELETE: api/buss/auth/dmnhomthamquyengiaiquyets({key})', 'POST: api/buss/auth/dmphantheonoidungs', 'PATCH: api/buss/auth/dmphantheonoidungs({key})', 'DELETE: api/buss/auth/dmphantheonoidungs({key})', 'POST: api/buss/auth/dmphantheothamquyens', 'PATCH: api/buss/auth/dmphantheothamquyens({key})', 'DELETE: api/buss/auth/dmphantheothamquyens({key})', 'POST: api/buss/auth/dmphongbans', 'PATCH: api/buss/auth/dmphongbans({key})', 'DELETE: api/buss/auth/dmphongbans({key})', 'POST: api/buss/auth/dmthihanhquyetdinhs', 'PATCH: api/buss/auth/dmthihanhquyetdinhs({key})', 'DELETE: api/buss/auth/dmthihanhquyetdinhs({key})', 'POST: api/buss/auth/dmtrangthaixulydons', 'PATCH: api/buss/auth/dmtrangthaixulydons({key})', 'DELETE: api/buss/auth/dmtrangthaixulydons({key})', 'POST: api/buss/auth/dmtrungdons', 'PATCH: api/buss/auth/dmtrungdons({key})', 'DELETE: api/buss/auth/dmtrungdons({key})', 'POST: api/buss/auth/dmxulytiepdans', 'PATCH: api/buss/auth/dmxulytiepdans({key})', 'DELETE: api/buss/auth/dmxulytiepdans({key})', 'POST: api/buss/auth/donthus/upload', 'GET: api/buss/auth/donthus/getfileinfos', 'GET: api/buss/auth/donthus/download/{**path}', 'DELETE: api/buss/auth/donthus/delete/{**path}', 'POST: api/buss/auth/donthus/pdfdexuatthulydon', 'POST: api/buss/auth/donthuxulys/editcanboxulydon', 'POST: api/buss/auth/donthuxulys/postcanboxulydon', 'POST: api/buss/auth/donthuxulys/upload', 'POST: api/buss/auth/reporttiepdans/sotiepcongdan', 'POST: api/buss/auth/reporttiepdans/tonghopketquaphanloaixulydon', 'POST: api/buss/auth/reporttiepdans/tonghopketquathuongxuyendinhkydotxuat', 'POST: api/buss/auth/reporttiepdans/tinhhinhtdxulydt', 'POST: api/buss/auth/tiepdans/upload', 'GET: api/buss/auth/tiepdans/getfileinfos', 'GET: api/buss/auth/tiepdans/download/{**path}', 'DELETE: api/buss/auth/tiepdans/delete/{**path}', 'GET: api/buss/auth/tiepdans/pdfthongbaotuchoi', 'GET: api/buss/auth/tiepdans/pdfgiaynhantailieu', 'POST: api/buss/auth/tiepdans/pdfgiayhen', 'POST: api/buss/auth/tiepdans/updatetiepdan', 'GET: api/buss/allow/canbos', 'GET: api/buss/allow/canbos({key})', 'GET: api/buss/allow/canbos/getnonorgan', 'GET: api/buss/allow/configdonthus', 'GET: api/buss/allow/configdonthus({key})', 'GET: api/buss/allow/donthucanbotiepnhans', 'GET: api/buss/allow/donthucanbotiepnhans({key})', 'GET: api/buss/allow/donthucoquandagiaiquyets', 'GET: api/buss/allow/donthucoquandagiaiquyets({key})', 'GET: api/buss/allow/donthunguoidungdons', 'GET: api/buss/allow/donthunguoidungdons(donthuid={key},thongtincanhanid={key1})', 'GET: api/buss/allow/donthus', 'GET: api/buss/allow/donthus({key})', 'GET: api/buss/allow/donthus/gettiepnhan', 'GET: api/buss/allow/donthus/gettuchoi', 'GET: api/buss/allow/donthus/getwithorder', 'GET: api/buss/allow/donthus/getdondoc', 'GET: api/buss/allow/donthuthuchiens', 'GET: api/buss/allow/donthuthuchiens({key})', 'GET: api/buss/allow/donthuxulychuyendons', 'GET: api/buss/allow/donthuxulychuyendons({key})', 'GET: api/buss/allow/donthuxulydondocs', 'GET: api/buss/allow/donthuxulydondocs({key})', 'GET: api/buss/allow/donthuxulys', 'GET: api/buss/allow/donthuxulys({key})', 'GET: api/buss/allow/donthuxulys/gettondong', 'GET: api/buss/allow/organizations', 'GET: api/buss/allow/organizations/getselectchild', 'GET: api/buss/allow/organizations({key})', 'GET: api/buss/allow/thongtincanhans', 'GET: api/buss/allow/thongtincanhans({key})', 'GET: api/buss/allow/tiepdancanboduocuyquyens', 'GET: api/buss/allow/tiepdancanboduocuyquyens({key})', 'GET: api/buss/allow/tiepdancanbotiepnhans', 'GET: api/buss/allow/tiepdancanbotiepnhans({key})', 'GET: api/buss/allow/tiepdanorganizations', 'GET: api/buss/allow/tiepdanorganizations({key})', 'GET: api/buss/allow/tiepdans', 'GET: api/buss/allow/tiepdans({key})', 'GET: api/buss/allow/tiepdanxulys', 'GET: api/buss/allow/tiepdanxulys({key})', 'GET: api/buss/allow/dmchucvus', 'GET: api/buss/allow/dmchucvus({key})', 'GET: api/buss/allow/dmdantocs', 'GET: api/buss/allow/dmdantocs({key})', 'GET: api/buss/allow/dmhinhthuctiepdans', 'GET: api/buss/allow/dmhinhthuctiepdans({key})', 'GET: api/buss/allow/dmhinhthucxulydons', 'GET: api/buss/allow/dmhinhthucxulydons({key})', 'GET: api/buss/allow/dmlinhvucs', 'GET: api/buss/allow/dmlinhvucs({key})', 'GET: api/buss/allow/dmloaidoituongs', 'GET: api/buss/allow/dmloaidoituongs({key})', 'GET: api/buss/allow/dmloaihinhtiepnhans', 'GET: api/buss/allow/dmloaihinhtiepnhans({key})', 'GET: api/buss/allow/dmloaivanbans', 'GET: api/buss/allow/dmloaivanbans({key})', 'GET: api/buss/allow/dmnhiemkys', 'GET: api/buss/allow/dmnhiemkys({key})', 'GET: api/buss/allow/dmnhomthamquyengiaiquyets', 'GET: api/buss/allow/dmnhomthamquyengiaiquyets({key})', 'GET: api/buss/allow/dmphantheonoidungs', 'GET: api/buss/allow/dmphantheonoidungs({key})', 'GET: api/buss/allow/dmphantheothamquyens', 'GET: api/buss/allow/dmphantheothamquyens({key})', 'GET: api/buss/allow/dmphongbans', 'GET: api/buss/allow/dmphongbans({key})', 'GET: api/buss/allow/dmthihanhquyetdinhs', 'GET: api/buss/allow/dmthihanhquyetdinhs({key})', 'GET: api/buss/allow/dmtrangthaixulydons', 'GET: api/buss/allow/dmtrangthaixulydons({key})', 'GET: api/buss/allow/dmtrungdons', 'GET: api/buss/allow/dmtrungdons({key})', 'GET: api/buss/allow/dmxulytiepdans', 'GET: api/buss/allow/dmxulytiepdans({key})', 'POST: api/buss/allow/dashboards/dashboard', 'POST: api/buss/allow/dashboards/canbosodontheothang', 'POST: api/buss/allow/dashboards/luuluongtiepnhan', 'GET: api/buss/allow/donthus/acceptdonthu', 'GET: api/buss/allow/donthus/getxulybydonthu', 'GET: api/buss/allow/donthus/getluongchuyendon', 'GET: api/buss/allow/donthuxulys/getfileinfos', 'GET: api/buss/allow/donvihanhchinhs/gettinhsbyuser', 'GET: api/buss/allow/donvihanhchinhs/gethuyensbyuser', 'GET: api/buss/allow/donvihanhchinhs/getxasbyuser', 'GET: api/buss/allow/donvihanhchinhs/getorganizationscaphuyenbyuser', 'GET: api/buss/allow/organizations/treeorganization')
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
warn: Microsoft.EntityFrameworkCore.Query[20504]
      Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (16ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__server_0='?' (Size = 25) (DbType = AnsiString), @__action_PathTemplate_1='?' (Size = 255) (DbType = AnsiString), @__action_Method_2='?' (Size = 10) (DbType = AnsiString)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [e].[Uuid], [e].[Action], [e].[Area], [e].[CId], [e].[Controller], [e].[CreatedBy], [e].[CreatedDate], [e].[DeletedBy], [e].[DeletedDate], [e].[Group], [e].[IsAuthorized], [e].[Method], [e].[PathTemplate], [e].[Server], [e].[Summary], [e].[UpdatedBy], [e].[UpdatedDate]
      FROM [Endpoint] AS [e]
      WHERE [e].[Server] = @__server_0 AND [e].[PathTemplate] = @__action_PathTemplate_1 AND [e].[Method] = @__action_Method_2
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:54:58.0542101Z", LastUpdateTimestamp: "2025-02-10T02:54:58.0542216Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:54:58.3816374Z", LastUpdateTimestamp: "2025-02-10T02:54:58.3816506Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:54:48.9131552Z", LastUpdateTimestamp: "2025-02-10T02:54:48.9131711Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:54:58.0542101Z", LastUpdateTimestamp: "2025-02-10T02:54:58.0542216Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:54:58.3816374Z", LastUpdateTimestamp: "2025-02-10T02:54:58.3816506Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:54:48.9131552Z", LastUpdateTimestamp: "2025-02-10T02:54:48.9131711Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (17ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:55:28.0473360Z", LastUpdateTimestamp: "2025-02-10T02:55:28.0473731Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:55:28.3857010Z", LastUpdateTimestamp: "2025-02-10T02:55:28.3857130Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:55:28.9169559Z", LastUpdateTimestamp: "2025-02-10T02:55:28.9169724Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:55:30.5341652Z", LastUpdateTimestamp: "2025-02-10T02:55:30.5341851Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:55:30.8654814Z", LastUpdateTimestamp: "2025-02-10T02:55:30.8654912Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:55:28.9169559Z", LastUpdateTimestamp: "2025-02-10T02:55:28.9169724Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:55:40.5329586Z", LastUpdateTimestamp: "2025-02-10T02:55:40.5329676Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:55:40.8638310Z", LastUpdateTimestamp: "2025-02-10T02:55:40.8638592Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:55:38.9187674Z", LastUpdateTimestamp: "2025-02-10T02:55:38.9187844Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:56:10.5335814Z", LastUpdateTimestamp: "2025-02-10T02:56:10.5335956Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:56:10.8654530Z", LastUpdateTimestamp: "2025-02-10T02:56:10.8654651Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:56:08.9273476Z", LastUpdateTimestamp: "2025-02-10T02:56:08.9273571Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:56:40.5351779Z", LastUpdateTimestamp: "2025-02-10T02:56:40.5351905Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:56:40.8637502Z", LastUpdateTimestamp: "2025-02-10T02:56:40.8637899Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:56:38.9327500Z", LastUpdateTimestamp: "2025-02-10T02:56:38.9327679Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:57:10.5348689Z", LastUpdateTimestamp: "2025-02-10T02:57:10.5348812Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:57:10.8646640Z", LastUpdateTimestamp: "2025-02-10T02:57:10.8646782Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:57:08.9400911Z", LastUpdateTimestamp: "2025-02-10T02:57:08.9401098Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:57:40.5321348Z", LastUpdateTimestamp: "2025-02-10T02:57:40.5321468Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:57:40.8635555Z", LastUpdateTimestamp: "2025-02-10T02:57:40.8635631Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:57:38.9392243Z", LastUpdateTimestamp: "2025-02-10T02:57:38.9392450Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:58:10.5358056Z", LastUpdateTimestamp: "2025-02-10T02:58:10.5358154Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:58:10.8636185Z", LastUpdateTimestamp: "2025-02-10T02:58:10.8636350Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:58:08.9438202Z", LastUpdateTimestamp: "2025-02-10T02:58:08.9438359Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:58:40.5345914Z", LastUpdateTimestamp: "2025-02-10T02:58:40.5345993Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:58:40.8644089Z", LastUpdateTimestamp: "2025-02-10T02:58:40.8644226Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:58:38.9477492Z", LastUpdateTimestamp: "2025-02-10T02:58:38.9477621Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:59:10.5358090Z", LastUpdateTimestamp: "2025-02-10T02:59:10.5358210Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:59:10.8623972Z", LastUpdateTimestamp: "2025-02-10T02:59:10.8624092Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:59:08.9620655Z", LastUpdateTimestamp: "2025-02-10T02:59:08.9620790Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:59:40.5349114Z", LastUpdateTimestamp: "2025-02-10T02:59:40.5349250Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T02:59:40.8646000Z", LastUpdateTimestamp: "2025-02-10T02:59:40.8646053Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T02:59:38.9608904Z", LastUpdateTimestamp: "2025-02-10T02:59:38.9609029Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:00:10.5335678Z", LastUpdateTimestamp: "2025-02-10T03:00:10.5335798Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:00:10.8648345Z", LastUpdateTimestamp: "2025-02-10T03:00:10.8648468Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:00:08.9641216Z", LastUpdateTimestamp: "2025-02-10T03:00:08.9641364Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (12ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (11ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:04:13.0407304Z", LastUpdateTimestamp: "2025-02-10T03:04:13.0407499Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:04:13.1700624Z", LastUpdateTimestamp: "2025-02-10T03:04:13.1700828Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:04:09.0126911Z", LastUpdateTimestamp: "2025-02-10T03:04:09.0127045Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:04:43.0394081Z", LastUpdateTimestamp: "2025-02-10T03:04:43.0394204Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:04:43.2277451Z", LastUpdateTimestamp: "2025-02-10T03:04:43.2277571Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:04:39.0177676Z", LastUpdateTimestamp: "2025-02-10T03:04:39.0177863Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:05:13.0395103Z", LastUpdateTimestamp: "2025-02-10T03:05:13.0395178Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:05:13.2844507Z", LastUpdateTimestamp: "2025-02-10T03:05:13.2844599Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:05:09.0207585Z", LastUpdateTimestamp: "2025-02-10T03:05:09.0207713Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:05:43.0378470Z", LastUpdateTimestamp: "2025-02-10T03:05:43.0378590Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:05:43.3441017Z", LastUpdateTimestamp: "2025-02-10T03:05:43.3441171Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:05:39.0248408Z", LastUpdateTimestamp: "2025-02-10T03:05:39.0248576Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:06:13.0378222Z", LastUpdateTimestamp: "2025-02-10T03:06:13.0378303Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:06:13.3712277Z", LastUpdateTimestamp: "2025-02-10T03:06:13.3712431Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:06:09.0290143Z", LastUpdateTimestamp: "2025-02-10T03:06:09.0290275Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:06:43.0399795Z", LastUpdateTimestamp: "2025-02-10T03:06:43.0399890Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:06:43.3694733Z", LastUpdateTimestamp: "2025-02-10T03:06:43.3695001Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:06:39.0332093Z", LastUpdateTimestamp: "2025-02-10T03:06:39.0332205Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:07:13.0407214Z", LastUpdateTimestamp: "2025-02-10T03:07:13.0407384Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:07:13.3669386Z", LastUpdateTimestamp: "2025-02-10T03:07:13.3669495Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:07:09.0456307Z", LastUpdateTimestamp: "2025-02-10T03:07:09.0456436Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:07:43.0390564Z", LastUpdateTimestamp: "2025-02-10T03:07:43.0390690Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:07:43.3715071Z", LastUpdateTimestamp: "2025-02-10T03:07:43.3715853Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:07:39.0482417Z", LastUpdateTimestamp: "2025-02-10T03:07:39.0482590Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:08:13.0399504Z", LastUpdateTimestamp: "2025-02-10T03:08:13.0399610Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:08:13.3757833Z", LastUpdateTimestamp: "2025-02-10T03:08:13.3758045Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:08:09.0525981Z", LastUpdateTimestamp: "2025-02-10T03:08:09.0526057Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:08:43.0383167Z", LastUpdateTimestamp: "2025-02-10T03:08:43.0383284Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:08:43.3692864Z", LastUpdateTimestamp: "2025-02-10T03:08:43.3692987Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:08:39.0542949Z", LastUpdateTimestamp: "2025-02-10T03:08:39.0543050Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (19ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (9ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (10ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (11ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (9ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (20ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (154ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:20:08.0489011Z", LastUpdateTimestamp: "2025-02-10T03:20:08.0489469Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:20:08.3788004Z", LastUpdateTimestamp: "2025-02-10T03:20:08.3788077Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:20:09.1639050Z", LastUpdateTimestamp: "2025-02-10T03:20:09.1640280Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (177ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (154ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (194ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (194ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (201ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
warn: Microsoft.EntityFrameworkCore.Query[20504]
      Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (161ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (198ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
      ORDER BY (
          SELECT TOP(1) [d8].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d8]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId]
          ORDER BY [d8].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (166ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
      ORDER BY (
          SELECT TOP(1) [d12].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d12]
          WHERE ([d12].[DeletedDate] IS NULL) AND [d].[Id] = [d12].[DonThuId]
          ORDER BY [d12].[NgayTiepNhan] DESC) DESC
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (108ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid), @__TypedProperty_9='?' (DbType = Int32), @__TypedProperty_10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t8].[Name], CASE
          WHEN [t8].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t10].[Id], [t10].[NgayChuyenDon], [t10].[Uuid], [t10].[TrangThai], [t10].[CID], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DMHinhThucXuLyDonId], [t10].[DMLoaiHinhTiepNhanId], [t10].[DMNhomThamQuyenGiaiQuyetId], [t10].[DMPhanTheoThamQuyenId], [t10].[DMTrangThaiXuLyDonId], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[DonThuId], [t10].[FileId], [t10].[GhiChu], [t10].[IsYeuCauBaoCao], [t10].[NgayTiepNhan], [t10].[NgayVanBan], [t10].[NgayXuLy], [t10].[ParentUuid], [t10].[ThoiHanXuLy], [t10].[UpdatedBy], [t10].[UpdatedDate], [t10].[UserId], [t10].[VanBan], [t10].[YKienXuLy], [t7].[Code], [t7].[NoiDungDon], [t7].[ThoiGianTiepNhan]
      FROM (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[ThoiGianTiepNhan], [t0].[Uuid], [t1].[TiepDanId] AS [TiepDanId0]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t].[Uuid]
              FROM [TiepDan] AS [t]
              WHERE [t].[DeletedDate] IS NULL
          ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
          LEFT JOIN (
              SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t2]
              WHERE [t2].[DeletedDate] IS NULL
          ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
          WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d0]
              WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d2]
                  WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d3]
                  WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d4]
              LEFT JOIN (
                  SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d5]
                  WHERE [d5].[DeletedDate] IS NULL
              ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d6]
              LEFT JOIN (
                  SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
                  FROM [DMTrangThaiXuLyDon] AS [d7]
                  WHERE [d7].[DeletedDate] IS NULL
              ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
              LEFT JOIN (
                  SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d8]
                  WHERE [d8].[DeletedDate] IS NULL
              ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
              LEFT JOIN (
                  SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
                  FROM [DonThuXuLy] AS [d9]
                  WHERE [d9].[DeletedDate] IS NULL
              ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d10]
                  WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
          ORDER BY [d].[Id]
          OFFSET @__TypedProperty_9 ROWS FETCH NEXT @__TypedProperty_10 ROWS ONLY
      ) AS [t7]
      LEFT JOIN (
          SELECT [d11].[Id], [d11].[Name]
          FROM [DMPhanTheoNoiDung] AS [d11]
          WHERE [d11].[DeletedDate] IS NULL
      ) AS [t8] ON [t7].[DMPhanTheoNoiDungId] = [t8].[Id]
      LEFT JOIN (
          SELECT [d12].[DonThuId], [d12].[ThongTinCaNhanId], [d12].[CreatedBy], [d12].[CreatedDate], [d12].[DeletedBy], [d12].[DeletedDate], [d12].[Loai], [d12].[NoiOCode], [d12].[NoiOCuThe], [d12].[NoiOHuyenCode], [d12].[NoiOTinhCode], [d12].[UpdatedBy], [d12].[UpdatedDate]
          FROM [DonThuNguoiDungDon] AS [d12]
          WHERE [d12].[DeletedDate] IS NULL
      ) AS [t9] ON [t7].[Id] = [t9].[DonThuId]
      LEFT JOIN (
          SELECT [d13].[Id], [t11].[NgayChuyenDon], [t11].[Uuid], [t11].[TrangThai], [d13].[CID], [d13].[CreatedBy], [d13].[CreatedDate], [d13].[DMHinhThucXuLyDonId], [d13].[DMLoaiHinhTiepNhanId], [d13].[DMNhomThamQuyenGiaiQuyetId], [d13].[DMPhanTheoThamQuyenId], [d13].[DMTrangThaiXuLyDonId], [d13].[DeletedBy], [d13].[DeletedDate], [d13].[DonThuId], [d13].[FileId], [d13].[GhiChu], [d13].[IsYeuCauBaoCao], [d13].[NgayTiepNhan], [d13].[NgayVanBan], [d13].[NgayXuLy], [d13].[ParentUuid], [d13].[ThoiHanXuLy], [d13].[UpdatedBy], [d13].[UpdatedDate], [d13].[UserId], [d13].[VanBan], [d13].[YKienXuLy]
          FROM [DonThuXuLy] AS [d13]
          LEFT JOIN (
              SELECT [d14].[NgayChuyenDon], [d14].[Uuid], [d14].[TrangThai], [d14].[DonThuXuLyId]
              FROM [DonThuXuLyChuyenDon] AS [d14]
              WHERE [d14].[DeletedDate] IS NULL
          ) AS [t11] ON [d13].[Id] = [t11].[DonThuXuLyId]
          WHERE [d13].[DeletedDate] IS NULL
      ) AS [t10] ON [t7].[Id] = [t10].[DonThuId]
      ORDER BY [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t10].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:20:38.0523273Z", LastUpdateTimestamp: "2025-02-10T03:20:38.0523407Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:20:38.3910589Z", LastUpdateTimestamp: "2025-02-10T03:20:38.3910804Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:20:39.1700046Z", LastUpdateTimestamp: "2025-02-10T03:20:39.1700613Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]

      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
      ORDER BY (
          SELECT TOP(1) [d12].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d12]
          WHERE ([d12].[DeletedDate] IS NULL) AND [d].[Id] = [d12].[DonThuId]
          ORDER BY [d12].[NgayTiepNhan] DESC) DESC
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
      ORDER BY (
          SELECT TOP(1) [d8].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d8]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId]
          ORDER BY [d8].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid), @__TypedProperty_9='?' (DbType = Int32), @__TypedProperty_10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t8].[Name], CASE
          WHEN [t8].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t10].[Id], [t10].[NgayChuyenDon], [t10].[Uuid], [t10].[TrangThai], [t10].[CID], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DMHinhThucXuLyDonId], [t10].[DMLoaiHinhTiepNhanId], [t10].[DMNhomThamQuyenGiaiQuyetId], [t10].[DMPhanTheoThamQuyenId], [t10].[DMTrangThaiXuLyDonId], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[DonThuId], [t10].[FileId], [t10].[GhiChu], [t10].[IsYeuCauBaoCao], [t10].[NgayTiepNhan], [t10].[NgayVanBan], [t10].[NgayXuLy], [t10].[ParentUuid], [t10].[ThoiHanXuLy], [t10].[UpdatedBy], [t10].[UpdatedDate], [t10].[UserId], [t10].[VanBan], [t10].[YKienXuLy], [t7].[Code], [t7].[NoiDungDon], [t7].[ThoiGianTiepNhan]
      FROM (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[ThoiGianTiepNhan], [t0].[Uuid], [t1].[TiepDanId] AS [TiepDanId0]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t].[Uuid]
              FROM [TiepDan] AS [t]
              WHERE [t].[DeletedDate] IS NULL
          ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
          LEFT JOIN (
              SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t2]
              WHERE [t2].[DeletedDate] IS NULL
          ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
          WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d0]
              WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d2]
                  WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d3]
                  WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d4]
              LEFT JOIN (
                  SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d5]
                  WHERE [d5].[DeletedDate] IS NULL
              ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d6]
              LEFT JOIN (
                  SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
                  FROM [DMTrangThaiXuLyDon] AS [d7]
                  WHERE [d7].[DeletedDate] IS NULL
              ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
              LEFT JOIN (
                  SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d8]
                  WHERE [d8].[DeletedDate] IS NULL
              ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
              LEFT JOIN (
                  SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
                  FROM [DonThuXuLy] AS [d9]
                  WHERE [d9].[DeletedDate] IS NULL
              ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d10]
                  WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
          ORDER BY [d].[Id]
          OFFSET @__TypedProperty_9 ROWS FETCH NEXT @__TypedProperty_10 ROWS ONLY
      ) AS [t7]
      LEFT JOIN (
          SELECT [d11].[Id], [d11].[Name]
          FROM [DMPhanTheoNoiDung] AS [d11]
          WHERE [d11].[DeletedDate] IS NULL
      ) AS [t8] ON [t7].[DMPhanTheoNoiDungId] = [t8].[Id]
      LEFT JOIN (
          SELECT [d12].[DonThuId], [d12].[ThongTinCaNhanId], [d12].[CreatedBy], [d12].[CreatedDate], [d12].[DeletedBy], [d12].[DeletedDate], [d12].[Loai], [d12].[NoiOCode], [d12].[NoiOCuThe], [d12].[NoiOHuyenCode], [d12].[NoiOTinhCode], [d12].[UpdatedBy], [d12].[UpdatedDate]
          FROM [DonThuNguoiDungDon] AS [d12]
          WHERE [d12].[DeletedDate] IS NULL
      ) AS [t9] ON [t7].[Id] = [t9].[DonThuId]
      LEFT JOIN (
          SELECT [d13].[Id], [t11].[NgayChuyenDon], [t11].[Uuid], [t11].[TrangThai], [d13].[CID], [d13].[CreatedBy], [d13].[CreatedDate], [d13].[DMHinhThucXuLyDonId], [d13].[DMLoaiHinhTiepNhanId], [d13].[DMNhomThamQuyenGiaiQuyetId], [d13].[DMPhanTheoThamQuyenId], [d13].[DMTrangThaiXuLyDonId], [d13].[DeletedBy], [d13].[DeletedDate], [d13].[DonThuId], [d13].[FileId], [d13].[GhiChu], [d13].[IsYeuCauBaoCao], [d13].[NgayTiepNhan], [d13].[NgayVanBan], [d13].[NgayXuLy], [d13].[ParentUuid], [d13].[ThoiHanXuLy], [d13].[UpdatedBy], [d13].[UpdatedDate], [d13].[UserId], [d13].[VanBan], [d13].[YKienXuLy]
          FROM [DonThuXuLy] AS [d13]
          LEFT JOIN (
              SELECT [d14].[NgayChuyenDon], [d14].[Uuid], [d14].[TrangThai], [d14].[DonThuXuLyId]
              FROM [DonThuXuLyChuyenDon] AS [d14]
              WHERE [d14].[DeletedDate] IS NULL
          ) AS [t11] ON [d13].[Id] = [t11].[DonThuXuLyId]
          WHERE [d13].[DeletedDate] IS NULL
      ) AS [t10] ON [t7].[Id] = [t10].[DonThuId]
      ORDER BY [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t10].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]

      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
      ORDER BY (
          SELECT TOP(1) [d12].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d12]
          WHERE ([d12].[DeletedDate] IS NULL) AND [d].[Id] = [d12].[DonThuId]
          ORDER BY [d12].[NgayTiepNhan] DESC) DESC
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:21:08.0495071Z", LastUpdateTimestamp: "2025-02-10T03:21:08.0495192Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:21:08.3829150Z", LastUpdateTimestamp: "2025-02-10T03:21:08.3829270Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:21:09.1747898Z", LastUpdateTimestamp: "2025-02-10T03:21:09.1748032Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
      ORDER BY (
          SELECT TOP(1) [d8].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d8]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId]
          ORDER BY [d8].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid), @__TypedProperty_9='?' (DbType = Int32), @__TypedProperty_10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t8].[Name], CASE
          WHEN [t8].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t10].[Id], [t10].[NgayChuyenDon], [t10].[Uuid], [t10].[TrangThai], [t10].[CID], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DMHinhThucXuLyDonId], [t10].[DMLoaiHinhTiepNhanId], [t10].[DMNhomThamQuyenGiaiQuyetId], [t10].[DMPhanTheoThamQuyenId], [t10].[DMTrangThaiXuLyDonId], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[DonThuId], [t10].[FileId], [t10].[GhiChu], [t10].[IsYeuCauBaoCao], [t10].[NgayTiepNhan], [t10].[NgayVanBan], [t10].[NgayXuLy], [t10].[ParentUuid], [t10].[ThoiHanXuLy], [t10].[UpdatedBy], [t10].[UpdatedDate], [t10].[UserId], [t10].[VanBan], [t10].[YKienXuLy], [t7].[Code], [t7].[NoiDungDon], [t7].[ThoiGianTiepNhan]
      FROM (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[ThoiGianTiepNhan], [t0].[Uuid], [t1].[TiepDanId] AS [TiepDanId0]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t].[Uuid]
              FROM [TiepDan] AS [t]
              WHERE [t].[DeletedDate] IS NULL
          ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
          LEFT JOIN (
              SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t2]
              WHERE [t2].[DeletedDate] IS NULL
          ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
          WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d0]
              WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d2]
                  WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d3]
                  WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d4]
              LEFT JOIN (
                  SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d5]
                  WHERE [d5].[DeletedDate] IS NULL
              ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d6]
              LEFT JOIN (
                  SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
                  FROM [DMTrangThaiXuLyDon] AS [d7]
                  WHERE [d7].[DeletedDate] IS NULL
              ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
              LEFT JOIN (
                  SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d8]
                  WHERE [d8].[DeletedDate] IS NULL
              ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
              LEFT JOIN (
                  SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
                  FROM [DonThuXuLy] AS [d9]
                  WHERE [d9].[DeletedDate] IS NULL
              ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d10]
                  WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
          ORDER BY [d].[Id]
          OFFSET @__TypedProperty_9 ROWS FETCH NEXT @__TypedProperty_10 ROWS ONLY
      ) AS [t7]
      LEFT JOIN (
          SELECT [d11].[Id], [d11].[Name]
          FROM [DMPhanTheoNoiDung] AS [d11]
          WHERE [d11].[DeletedDate] IS NULL
      ) AS [t8] ON [t7].[DMPhanTheoNoiDungId] = [t8].[Id]
      LEFT JOIN (
          SELECT [d12].[DonThuId], [d12].[ThongTinCaNhanId], [d12].[CreatedBy], [d12].[CreatedDate], [d12].[DeletedBy], [d12].[DeletedDate], [d12].[Loai], [d12].[NoiOCode], [d12].[NoiOCuThe], [d12].[NoiOHuyenCode], [d12].[NoiOTinhCode], [d12].[UpdatedBy], [d12].[UpdatedDate]
          FROM [DonThuNguoiDungDon] AS [d12]
          WHERE [d12].[DeletedDate] IS NULL
      ) AS [t9] ON [t7].[Id] = [t9].[DonThuId]
      LEFT JOIN (
          SELECT [d13].[Id], [t11].[NgayChuyenDon], [t11].[Uuid], [t11].[TrangThai], [d13].[CID], [d13].[CreatedBy], [d13].[CreatedDate], [d13].[DMHinhThucXuLyDonId], [d13].[DMLoaiHinhTiepNhanId], [d13].[DMNhomThamQuyenGiaiQuyetId], [d13].[DMPhanTheoThamQuyenId], [d13].[DMTrangThaiXuLyDonId], [d13].[DeletedBy], [d13].[DeletedDate], [d13].[DonThuId], [d13].[FileId], [d13].[GhiChu], [d13].[IsYeuCauBaoCao], [d13].[NgayTiepNhan], [d13].[NgayVanBan], [d13].[NgayXuLy], [d13].[ParentUuid], [d13].[ThoiHanXuLy], [d13].[UpdatedBy], [d13].[UpdatedDate], [d13].[UserId], [d13].[VanBan], [d13].[YKienXuLy]
          FROM [DonThuXuLy] AS [d13]
          LEFT JOIN (
              SELECT [d14].[NgayChuyenDon], [d14].[Uuid], [d14].[TrangThai], [d14].[DonThuXuLyId]
              FROM [DonThuXuLyChuyenDon] AS [d14]
              WHERE [d14].[DeletedDate] IS NULL
          ) AS [t11] ON [d13].[Id] = [t11].[DonThuXuLyId]
          WHERE [d13].[DeletedDate] IS NULL
      ) AS [t10] ON [t7].[Id] = [t10].[DonThuId]
      ORDER BY [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t10].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:21:38.0513951Z", LastUpdateTimestamp: "2025-02-10T03:21:38.0514051Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:21:38.3810001Z", LastUpdateTimestamp: "2025-02-10T03:21:38.3810180Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:21:39.2033504Z", LastUpdateTimestamp: "2025-02-10T03:21:39.2033605Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:22:08.0495091Z", LastUpdateTimestamp: "2025-02-10T03:22:08.0495276Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:22:08.3802974Z", LastUpdateTimestamp: "2025-02-10T03:22:08.3803080Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:22:09.1843614Z", LastUpdateTimestamp: "2025-02-10T03:22:09.1843787Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:22:38.0474529Z", LastUpdateTimestamp: "2025-02-10T03:22:38.0474677Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:22:38.3825061Z", LastUpdateTimestamp: "2025-02-10T03:22:38.3825359Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:22:39.1886234Z", LastUpdateTimestamp: "2025-02-10T03:22:39.1886343Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (16ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
      ORDER BY (
          SELECT TOP(1) [d8].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d8]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId]
          ORDER BY [d8].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
      ORDER BY (
          SELECT TOP(1) [d12].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d12]
          WHERE ([d12].[DeletedDate] IS NULL) AND [d].[Id] = [d12].[DonThuId]
          ORDER BY [d12].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid), @__TypedProperty_9='?' (DbType = Int32), @__TypedProperty_10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t8].[Name], CASE
          WHEN [t8].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t10].[Id], [t10].[NgayChuyenDon], [t10].[Uuid], [t10].[TrangThai], [t10].[CID], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DMHinhThucXuLyDonId], [t10].[DMLoaiHinhTiepNhanId], [t10].[DMNhomThamQuyenGiaiQuyetId], [t10].[DMPhanTheoThamQuyenId], [t10].[DMTrangThaiXuLyDonId], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[DonThuId], [t10].[FileId], [t10].[GhiChu], [t10].[IsYeuCauBaoCao], [t10].[NgayTiepNhan], [t10].[NgayVanBan], [t10].[NgayXuLy], [t10].[ParentUuid], [t10].[ThoiHanXuLy], [t10].[UpdatedBy], [t10].[UpdatedDate], [t10].[UserId], [t10].[VanBan], [t10].[YKienXuLy], [t7].[Code], [t7].[NoiDungDon], [t7].[ThoiGianTiepNhan]
      FROM (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[ThoiGianTiepNhan], [t0].[Uuid], [t1].[TiepDanId] AS [TiepDanId0]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t].[Uuid]
              FROM [TiepDan] AS [t]
              WHERE [t].[DeletedDate] IS NULL
          ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
          LEFT JOIN (
              SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t2]
              WHERE [t2].[DeletedDate] IS NULL
          ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
          WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d0]
              WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d2]
                  WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d3]
                  WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d4]
              LEFT JOIN (
                  SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d5]
                  WHERE [d5].[DeletedDate] IS NULL
              ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d6]
              LEFT JOIN (
                  SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
                  FROM [DMTrangThaiXuLyDon] AS [d7]
                  WHERE [d7].[DeletedDate] IS NULL
              ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
              LEFT JOIN (
                  SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d8]
                  WHERE [d8].[DeletedDate] IS NULL
              ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
              LEFT JOIN (
                  SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
                  FROM [DonThuXuLy] AS [d9]
                  WHERE [d9].[DeletedDate] IS NULL
              ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d10]
                  WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
          ORDER BY [d].[Id]
          OFFSET @__TypedProperty_9 ROWS FETCH NEXT @__TypedProperty_10 ROWS ONLY
      ) AS [t7]
      LEFT JOIN (
          SELECT [d11].[Id], [d11].[Name]
          FROM [DMPhanTheoNoiDung] AS [d11]
          WHERE [d11].[DeletedDate] IS NULL
      ) AS [t8] ON [t7].[DMPhanTheoNoiDungId] = [t8].[Id]
      LEFT JOIN (
          SELECT [d12].[DonThuId], [d12].[ThongTinCaNhanId], [d12].[CreatedBy], [d12].[CreatedDate], [d12].[DeletedBy], [d12].[DeletedDate], [d12].[Loai], [d12].[NoiOCode], [d12].[NoiOCuThe], [d12].[NoiOHuyenCode], [d12].[NoiOTinhCode], [d12].[UpdatedBy], [d12].[UpdatedDate]
          FROM [DonThuNguoiDungDon] AS [d12]
          WHERE [d12].[DeletedDate] IS NULL
      ) AS [t9] ON [t7].[Id] = [t9].[DonThuId]
      LEFT JOIN (
          SELECT [d13].[Id], [t11].[NgayChuyenDon], [t11].[Uuid], [t11].[TrangThai], [d13].[CID], [d13].[CreatedBy], [d13].[CreatedDate], [d13].[DMHinhThucXuLyDonId], [d13].[DMLoaiHinhTiepNhanId], [d13].[DMNhomThamQuyenGiaiQuyetId], [d13].[DMPhanTheoThamQuyenId], [d13].[DMTrangThaiXuLyDonId], [d13].[DeletedBy], [d13].[DeletedDate], [d13].[DonThuId], [d13].[FileId], [d13].[GhiChu], [d13].[IsYeuCauBaoCao], [d13].[NgayTiepNhan], [d13].[NgayVanBan], [d13].[NgayXuLy], [d13].[ParentUuid], [d13].[ThoiHanXuLy], [d13].[UpdatedBy], [d13].[UpdatedDate], [d13].[UserId], [d13].[VanBan], [d13].[YKienXuLy]
          FROM [DonThuXuLy] AS [d13]
          LEFT JOIN (
              SELECT [d14].[NgayChuyenDon], [d14].[Uuid], [d14].[TrangThai], [d14].[DonThuXuLyId]
              FROM [DonThuXuLyChuyenDon] AS [d14]
              WHERE [d14].[DeletedDate] IS NULL
          ) AS [t11] ON [d13].[Id] = [t11].[DonThuXuLyId]
          WHERE [d13].[DeletedDate] IS NULL
      ) AS [t10] ON [t7].[Id] = [t10].[DonThuId]
      ORDER BY [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t10].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (0ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
      ORDER BY (
          SELECT TOP(1) [d12].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d12]
          WHERE ([d12].[DeletedDate] IS NULL) AND [d].[Id] = [d12].[DonThuId]
          ORDER BY [d12].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
      ORDER BY (
          SELECT TOP(1) [d8].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d8]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId]
          ORDER BY [d8].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid), @__TypedProperty_9='?' (DbType = Int32), @__TypedProperty_10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t8].[Name], CASE
          WHEN [t8].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t10].[Id], [t10].[NgayChuyenDon], [t10].[Uuid], [t10].[TrangThai], [t10].[CID], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DMHinhThucXuLyDonId], [t10].[DMLoaiHinhTiepNhanId], [t10].[DMNhomThamQuyenGiaiQuyetId], [t10].[DMPhanTheoThamQuyenId], [t10].[DMTrangThaiXuLyDonId], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[DonThuId], [t10].[FileId], [t10].[GhiChu], [t10].[IsYeuCauBaoCao], [t10].[NgayTiepNhan], [t10].[NgayVanBan], [t10].[NgayXuLy], [t10].[ParentUuid], [t10].[ThoiHanXuLy], [t10].[UpdatedBy], [t10].[UpdatedDate], [t10].[UserId], [t10].[VanBan], [t10].[YKienXuLy], [t7].[Code], [t7].[NoiDungDon], [t7].[ThoiGianTiepNhan]
      FROM (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[ThoiGianTiepNhan], [t0].[Uuid], [t1].[TiepDanId] AS [TiepDanId0]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t].[Uuid]
              FROM [TiepDan] AS [t]
              WHERE [t].[DeletedDate] IS NULL
          ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
          LEFT JOIN (
              SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t2]
              WHERE [t2].[DeletedDate] IS NULL
          ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
          WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d0]
              WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d2]
                  WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d3]
                  WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d4]
              LEFT JOIN (
                  SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d5]
                  WHERE [d5].[DeletedDate] IS NULL
              ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d6]
              LEFT JOIN (
                  SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
                  FROM [DMTrangThaiXuLyDon] AS [d7]
                  WHERE [d7].[DeletedDate] IS NULL
              ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
              LEFT JOIN (
                  SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d8]
                  WHERE [d8].[DeletedDate] IS NULL
              ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
              LEFT JOIN (
                  SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
                  FROM [DonThuXuLy] AS [d9]
                  WHERE [d9].[DeletedDate] IS NULL
              ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d10]
                  WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
          ORDER BY [d].[Id]
          OFFSET @__TypedProperty_9 ROWS FETCH NEXT @__TypedProperty_10 ROWS ONLY
      ) AS [t7]
      LEFT JOIN (
          SELECT [d11].[Id], [d11].[Name]
          FROM [DMPhanTheoNoiDung] AS [d11]
          WHERE [d11].[DeletedDate] IS NULL
      ) AS [t8] ON [t7].[DMPhanTheoNoiDungId] = [t8].[Id]
      LEFT JOIN (
          SELECT [d12].[DonThuId], [d12].[ThongTinCaNhanId], [d12].[CreatedBy], [d12].[CreatedDate], [d12].[DeletedBy], [d12].[DeletedDate], [d12].[Loai], [d12].[NoiOCode], [d12].[NoiOCuThe], [d12].[NoiOHuyenCode], [d12].[NoiOTinhCode], [d12].[UpdatedBy], [d12].[UpdatedDate]
          FROM [DonThuNguoiDungDon] AS [d12]
          WHERE [d12].[DeletedDate] IS NULL
      ) AS [t9] ON [t7].[Id] = [t9].[DonThuId]
      LEFT JOIN (
          SELECT [d13].[Id], [t11].[NgayChuyenDon], [t11].[Uuid], [t11].[TrangThai], [d13].[CID], [d13].[CreatedBy], [d13].[CreatedDate], [d13].[DMHinhThucXuLyDonId], [d13].[DMLoaiHinhTiepNhanId], [d13].[DMNhomThamQuyenGiaiQuyetId], [d13].[DMPhanTheoThamQuyenId], [d13].[DMTrangThaiXuLyDonId], [d13].[DeletedBy], [d13].[DeletedDate], [d13].[DonThuId], [d13].[FileId], [d13].[GhiChu], [d13].[IsYeuCauBaoCao], [d13].[NgayTiepNhan], [d13].[NgayVanBan], [d13].[NgayXuLy], [d13].[ParentUuid], [d13].[ThoiHanXuLy], [d13].[UpdatedBy], [d13].[UpdatedDate], [d13].[UserId], [d13].[VanBan], [d13].[YKienXuLy]
          FROM [DonThuXuLy] AS [d13]
          LEFT JOIN (
              SELECT [d14].[NgayChuyenDon], [d14].[Uuid], [d14].[TrangThai], [d14].[DonThuXuLyId]
              FROM [DonThuXuLyChuyenDon] AS [d14]
              WHERE [d14].[DeletedDate] IS NULL
          ) AS [t11] ON [d13].[Id] = [t11].[DonThuXuLyId]
          WHERE [d13].[DeletedDate] IS NULL
      ) AS [t10] ON [t7].[Id] = [t10].[DonThuId]
      ORDER BY [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t10].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]

      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
      ORDER BY (
          SELECT TOP(1) [d12].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d12]
          WHERE ([d12].[DeletedDate] IS NULL) AND [d].[Id] = [d12].[DonThuId]
          ORDER BY [d12].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid), @__TypedProperty_9='?' (DbType = Int32), @__TypedProperty_10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t8].[Name], CASE
          WHEN [t8].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t10].[Id], [t10].[NgayChuyenDon], [t10].[Uuid], [t10].[TrangThai], [t10].[CID], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DMHinhThucXuLyDonId], [t10].[DMLoaiHinhTiepNhanId], [t10].[DMNhomThamQuyenGiaiQuyetId], [t10].[DMPhanTheoThamQuyenId], [t10].[DMTrangThaiXuLyDonId], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[DonThuId], [t10].[FileId], [t10].[GhiChu], [t10].[IsYeuCauBaoCao], [t10].[NgayTiepNhan], [t10].[NgayVanBan], [t10].[NgayXuLy], [t10].[ParentUuid], [t10].[ThoiHanXuLy], [t10].[UpdatedBy], [t10].[UpdatedDate], [t10].[UserId], [t10].[VanBan], [t10].[YKienXuLy], [t7].[Code], [t7].[NoiDungDon], [t7].[ThoiGianTiepNhan]
      FROM (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[ThoiGianTiepNhan], [t0].[Uuid], [t1].[TiepDanId] AS [TiepDanId0]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t].[Uuid]
              FROM [TiepDan] AS [t]
              WHERE [t].[DeletedDate] IS NULL
          ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
          LEFT JOIN (
              SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t2]
              WHERE [t2].[DeletedDate] IS NULL
          ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
          WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d0]
              WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d2]
                  WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d3]
                  WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d4]
              LEFT JOIN (
                  SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d5]
                  WHERE [d5].[DeletedDate] IS NULL
              ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d6]
              LEFT JOIN (
                  SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
                  FROM [DMTrangThaiXuLyDon] AS [d7]
                  WHERE [d7].[DeletedDate] IS NULL
              ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
              LEFT JOIN (
                  SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d8]
                  WHERE [d8].[DeletedDate] IS NULL
              ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
              LEFT JOIN (
                  SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
                  FROM [DonThuXuLy] AS [d9]
                  WHERE [d9].[DeletedDate] IS NULL
              ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d10]
                  WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
          ORDER BY [d].[Id]
          OFFSET @__TypedProperty_9 ROWS FETCH NEXT @__TypedProperty_10 ROWS ONLY
      ) AS [t7]
      LEFT JOIN (
          SELECT [d11].[Id], [d11].[Name]
          FROM [DMPhanTheoNoiDung] AS [d11]
          WHERE [d11].[DeletedDate] IS NULL
      ) AS [t8] ON [t7].[DMPhanTheoNoiDungId] = [t8].[Id]
      LEFT JOIN (
          SELECT [d12].[DonThuId], [d12].[ThongTinCaNhanId], [d12].[CreatedBy], [d12].[CreatedDate], [d12].[DeletedBy], [d12].[DeletedDate], [d12].[Loai], [d12].[NoiOCode], [d12].[NoiOCuThe], [d12].[NoiOHuyenCode], [d12].[NoiOTinhCode], [d12].[UpdatedBy], [d12].[UpdatedDate]
          FROM [DonThuNguoiDungDon] AS [d12]
          WHERE [d12].[DeletedDate] IS NULL
      ) AS [t9] ON [t7].[Id] = [t9].[DonThuId]
      LEFT JOIN (
          SELECT [d13].[Id], [t11].[NgayChuyenDon], [t11].[Uuid], [t11].[TrangThai], [d13].[CID], [d13].[CreatedBy], [d13].[CreatedDate], [d13].[DMHinhThucXuLyDonId], [d13].[DMLoaiHinhTiepNhanId], [d13].[DMNhomThamQuyenGiaiQuyetId], [d13].[DMPhanTheoThamQuyenId], [d13].[DMTrangThaiXuLyDonId], [d13].[DeletedBy], [d13].[DeletedDate], [d13].[DonThuId], [d13].[FileId], [d13].[GhiChu], [d13].[IsYeuCauBaoCao], [d13].[NgayTiepNhan], [d13].[NgayVanBan], [d13].[NgayXuLy], [d13].[ParentUuid], [d13].[ThoiHanXuLy], [d13].[UpdatedBy], [d13].[UpdatedDate], [d13].[UserId], [d13].[VanBan], [d13].[YKienXuLy]
          FROM [DonThuXuLy] AS [d13]
          LEFT JOIN (
              SELECT [d14].[NgayChuyenDon], [d14].[Uuid], [d14].[TrangThai], [d14].[DonThuXuLyId]
              FROM [DonThuXuLyChuyenDon] AS [d14]
              WHERE [d14].[DeletedDate] IS NULL
          ) AS [t11] ON [d13].[Id] = [t11].[DonThuXuLyId]
          WHERE [d13].[DeletedDate] IS NULL
      ) AS [t10] ON [t7].[Id] = [t10].[DonThuId]
      ORDER BY [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t10].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
      ORDER BY (
          SELECT TOP(1) [d8].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d8]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId]
          ORDER BY [d8].[NgayTiepNhan] DESC) DESC
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]

      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
      ORDER BY (
          SELECT TOP(1) [d8].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d8]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId]
          ORDER BY [d8].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
      ORDER BY (
          SELECT TOP(1) [d12].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d12]
          WHERE ([d12].[DeletedDate] IS NULL) AND [d].[Id] = [d12].[DonThuId]
          ORDER BY [d12].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid), @__TypedProperty_9='?' (DbType = Int32), @__TypedProperty_10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t8].[Name], CASE
          WHEN [t8].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t10].[Id], [t10].[NgayChuyenDon], [t10].[Uuid], [t10].[TrangThai], [t10].[CID], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DMHinhThucXuLyDonId], [t10].[DMLoaiHinhTiepNhanId], [t10].[DMNhomThamQuyenGiaiQuyetId], [t10].[DMPhanTheoThamQuyenId], [t10].[DMTrangThaiXuLyDonId], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[DonThuId], [t10].[FileId], [t10].[GhiChu], [t10].[IsYeuCauBaoCao], [t10].[NgayTiepNhan], [t10].[NgayVanBan], [t10].[NgayXuLy], [t10].[ParentUuid], [t10].[ThoiHanXuLy], [t10].[UpdatedBy], [t10].[UpdatedDate], [t10].[UserId], [t10].[VanBan], [t10].[YKienXuLy], [t7].[Code], [t7].[NoiDungDon], [t7].[ThoiGianTiepNhan]
      FROM (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[ThoiGianTiepNhan], [t0].[Uuid], [t1].[TiepDanId] AS [TiepDanId0]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t].[Uuid]
              FROM [TiepDan] AS [t]
              WHERE [t].[DeletedDate] IS NULL
          ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
          LEFT JOIN (
              SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t2]
              WHERE [t2].[DeletedDate] IS NULL
          ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
          WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d0]
              WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d2]
                  WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d3]
                  WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d4]
              LEFT JOIN (
                  SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d5]
                  WHERE [d5].[DeletedDate] IS NULL
              ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d6]
              LEFT JOIN (
                  SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
                  FROM [DMTrangThaiXuLyDon] AS [d7]
                  WHERE [d7].[DeletedDate] IS NULL
              ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
              LEFT JOIN (
                  SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d8]
                  WHERE [d8].[DeletedDate] IS NULL
              ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
              LEFT JOIN (
                  SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
                  FROM [DonThuXuLy] AS [d9]
                  WHERE [d9].[DeletedDate] IS NULL
              ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d10]
                  WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
          ORDER BY [d].[Id]
          OFFSET @__TypedProperty_9 ROWS FETCH NEXT @__TypedProperty_10 ROWS ONLY
      ) AS [t7]
      LEFT JOIN (
          SELECT [d11].[Id], [d11].[Name]
          FROM [DMPhanTheoNoiDung] AS [d11]
          WHERE [d11].[DeletedDate] IS NULL
      ) AS [t8] ON [t7].[DMPhanTheoNoiDungId] = [t8].[Id]
      LEFT JOIN (
          SELECT [d12].[DonThuId], [d12].[ThongTinCaNhanId], [d12].[CreatedBy], [d12].[CreatedDate], [d12].[DeletedBy], [d12].[DeletedDate], [d12].[Loai], [d12].[NoiOCode], [d12].[NoiOCuThe], [d12].[NoiOHuyenCode], [d12].[NoiOTinhCode], [d12].[UpdatedBy], [d12].[UpdatedDate]
          FROM [DonThuNguoiDungDon] AS [d12]
          WHERE [d12].[DeletedDate] IS NULL
      ) AS [t9] ON [t7].[Id] = [t9].[DonThuId]
      LEFT JOIN (
          SELECT [d13].[Id], [t11].[NgayChuyenDon], [t11].[Uuid], [t11].[TrangThai], [d13].[CID], [d13].[CreatedBy], [d13].[CreatedDate], [d13].[DMHinhThucXuLyDonId], [d13].[DMLoaiHinhTiepNhanId], [d13].[DMNhomThamQuyenGiaiQuyetId], [d13].[DMPhanTheoThamQuyenId], [d13].[DMTrangThaiXuLyDonId], [d13].[DeletedBy], [d13].[DeletedDate], [d13].[DonThuId], [d13].[FileId], [d13].[GhiChu], [d13].[IsYeuCauBaoCao], [d13].[NgayTiepNhan], [d13].[NgayVanBan], [d13].[NgayXuLy], [d13].[ParentUuid], [d13].[ThoiHanXuLy], [d13].[UpdatedBy], [d13].[UpdatedDate], [d13].[UserId], [d13].[VanBan], [d13].[YKienXuLy]
          FROM [DonThuXuLy] AS [d13]
          LEFT JOIN (
              SELECT [d14].[NgayChuyenDon], [d14].[Uuid], [d14].[TrangThai], [d14].[DonThuXuLyId]
              FROM [DonThuXuLyChuyenDon] AS [d14]
              WHERE [d14].[DeletedDate] IS NULL
          ) AS [t11] ON [d13].[Id] = [t11].[DonThuXuLyId]
          WHERE [d13].[DeletedDate] IS NULL
      ) AS [t10] ON [t7].[Id] = [t10].[DonThuId]
      ORDER BY [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t10].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:23:08.0483313Z", LastUpdateTimestamp: "2025-02-10T03:23:08.0483435Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:23:08.3826196Z", LastUpdateTimestamp: "2025-02-10T03:23:08.3826293Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:23:09.1910379Z", LastUpdateTimestamp: "2025-02-10T03:23:09.1910553Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (9ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_5='?' (DbType = Int32), @___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean), @__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_5) [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DMChucVuId], [t0].[DMPhongBanId], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[OrganizationId], [t0].[ThongTinCaNhanId], [t0].[TrangThai], [t0].[UpdatedBy], [t0].[UpdatedDate], [t0].[UserId]
      FROM (
          SELECT [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
          FROM [CanBo] AS [c]
          INNER JOIN (
              SELECT [d].[Id], [d].[IsLanhDao]
              FROM [DMChucVu] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
          WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
          ORDER BY [c].[Uuid]
          OFFSET @__TypedProperty_3 ROWS FETCH NEXT @__TypedProperty_4 ROWS ONLY
      ) AS [t0]
      ORDER BY [t0].[Uuid]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [CanBo] AS [c]
      INNER JOIN (
          SELECT [d].[Id], [d].[IsLanhDao]
          FROM [DMChucVu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
      WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_5='?' (DbType = Int32), @___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean), @__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_5) [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DMChucVuId], [t0].[DMPhongBanId], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[OrganizationId], [t0].[ThongTinCaNhanId], [t0].[TrangThai], [t0].[UpdatedBy], [t0].[UpdatedDate], [t0].[UserId]
      FROM (
          SELECT [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
          FROM [CanBo] AS [c]
          INNER JOIN (
              SELECT [d].[Id], [d].[IsLanhDao]
              FROM [DMChucVu] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
          WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
          ORDER BY [c].[Uuid]
          OFFSET @__TypedProperty_3 ROWS FETCH NEXT @__TypedProperty_4 ROWS ONLY
      ) AS [t0]
      ORDER BY [t0].[Uuid]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [CanBo] AS [c]
      INNER JOIN (
          SELECT [d].[Id], [d].[IsLanhDao]
          FROM [DMChucVu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
      WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t0].[Uuid], [t0].[SoDinhDanh], [t0].[HoVaTenDem], [t0].[Ten], [t0].[GioiTinh], [t0].[DienThoai], [t0].[Email]
      FROM (
          SELECT [t].[Uuid], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[SoDinhDanh], [t].[Ten]
          FROM [ThongTinCaNhan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
          ORDER BY [t].[Uuid]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t0]
      ORDER BY [t0].[Uuid]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [ThongTinCaNhan] AS [t]
      WHERE [t].[DeletedDate] IS NULL
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t0].[Uuid], [t0].[SoDinhDanh], [t0].[HoVaTenDem], [t0].[Ten], [t0].[GioiTinh], [t0].[DienThoai], [t0].[Email]
      FROM (
          SELECT [t].[Uuid], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[SoDinhDanh], [t].[Ten]
          FROM [ThongTinCaNhan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
          ORDER BY [t].[Uuid]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t0]
      ORDER BY [t0].[Uuid]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [ThongTinCaNhan] AS [t]
      WHERE [t].[DeletedDate] IS NULL
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:23:38.0523810Z", LastUpdateTimestamp: "2025-02-10T03:23:38.0523986Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:23:38.3813795Z", LastUpdateTimestamp: "2025-02-10T03:23:38.3814002Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:23:39.1951383Z", LastUpdateTimestamp: "2025-02-10T03:23:39.1951698Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.IClusterExtensions.SelectServerAndPinIfNeeded(ICluster cluster, ICoreSessionHandle session, IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.OperationExecutor.ExecuteWriteOperation[TResult](IWriteBinding binding, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 30
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      ------WebKitFormBoundaryAaLAPIjGaw2Rqz5v
      Content-Disposition: form-data; name="key"
      
      6f6378af-f004-49f9-8729-b454adc77b21
      ------WebKitFormBoundaryAaLAPIjGaw2Rqz5v
      Content-Disposition: form-data; name="loaiVanBan"
      
      HANDLE
      ------WebKitFormBoundaryAaLAPIjGaw2Rqz5v
      Content-Disposition: form-data; name="file"; filename="Gi?y biên nh?n.pdf"
      Content-Type: application/pdf
      
      %PDF-1.4
1 0 obj
<<
/Title (??)
/Creator (??J?2??1??#Tt?;?\?j??3p7?????,?q???#????%B9?Zuk|V??f
???D???;Pl???r?????,??5????CZIb??$u#?R?}9????H?.?D??B?I??k-ojq7?????\?d?QJs???G;;+???u???VZ?s????}???Q???
yp?&
s????#?ì??{????8?3?lX??\Pm?P???J\? ?(?D???x	[h??V!e?[?$?&z???P>?)_{?L?K??%?-z?$O?`V;?O?rl???T????,?=?0??S4{
??[0???-???(????v??;??????O??~??K?9??8??W_??????|??r??*y?"??<!d.|? 3?	?.7??P??B??!S?^?8O?xD
T"H?p???i???g??
^?$?`???eWT???$?`?V??]?g???n??
?~?F??/?+??}V6??g?Q??a?Lo?X??Q???b?j?X???._??2YU?????|?J???[A?AM?Z$:??????.j?{b????4*Yo\???~??{??
??f????<k?%?}??$?.??j??r^?,?~U?x??>?=??=??,??V??2?4?T?????k???z?Ñ????nLm1?????)?NreB3?(+??[wM???y??53}??A??T????vMAx????!??fdr?=???c??6??????5???](4?6?????wwC@?U???-}[u]`s?
?u{pt?z?@O+?R????h???g?8?t%??p/???????:???Rs3?}?
k?Zm??d?5S2??B?P??tu?z?n?in?q???#?]{{?}??m#?{????H,????w??USP^? ?????=9?mm??/? +??:@,???:?S/K?n]I?r?{?k(o?????bt?H????J???????,q?L????&CR[?7??A??!k9??????
?;??_CH%-[???[S?:S???K??5?YI????[?k?xz?G?K%???-U@ns?rj??U???j?\???????$8C?C`?ln;?8?9d?oL????5:?rJ?&y??U?;)5?~??W?c?La/dM[qV?f&7?????Q??F???W??Z{?N????OH2?rek?%J?e?CV?|??n?)??z???al???y?;X???????s???B?<?0o?N??[?W??Bff??>???;?6|???@p-a	`?3{_.(2W???8W?M[,???l?????MMU64"?????R?????>?*#S?????
??=???????}?>??-=?q?%?KmP?~?????:?E????3?!9H???
????Y????Gb??B`????VzGp&???"?@(F?4?k?H???? ?c6?????2??[???31,<L???L$?????]?Xi_?O/E?0;K0`_?^
D????^!?Op9 ?H?1?w??_"?$:K??y&f??v??V?Lb?`?>4??O??l?,,??*&??V??`+??????V_V??s0?vX?%?5???`u?T	??1m?\i4bui??0?pT?W?PUV???>??rU?????@l?m?Dr??6?????s??|>?[,?L\???B"Tz6??L?x1
9info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (20ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:24:08.0498603Z", LastUpdateTimestamp: "2025-02-10T03:24:08.0498748Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:24:08.3811639Z", LastUpdateTimestamp: "2025-02-10T03:24:08.3811706Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:24:09.1978718Z", LastUpdateTimestamp: "2025-02-10T03:24:09.1978853Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      ------WebKitFormBoundaryWRtKx7P7HkgdjTg6
      Content-Disposition: form-data; name="key"
      
      36c7a9dc-15d4-4b49-802e-b76a5fbec269
      ------WebKitFormBoundaryWRtKx7P7HkgdjTg6
      Content-Disposition: form-data; name="loaiVanBan"
      
      ATTACH
      ------WebKitFormBoundaryWRtKx7P7HkgdjTg6
      Content-Disposition: form-data; name="file"; filename="Gi?y biên nh?n.pdf"
      Content-Type: application/pdf
      
      %PDF-1.4
1 0 obj
<<
/Title (??)
/Creator (??J?2??1??#Tt?;?\?j??3p7?????,?q???#????%B9?Zuk|V??f
???D???;Pl???r?????,??5????CZIb??$u#?R?}9????H?.?D??B?I??k-ojq7?????\?d?QJs???G;;+???u???VZ?s????}???Q???
yp?&
s????#?ì??{????8?3?lX??\Pm?P???J\? ?(?D???x	[h??V!e?[?$?&z???P>?)_{?L?K??%?-z?$O?`V;?O?rl???T????,?=?0??S4{
??[0???-???(????v??;??????O??~??K?9??8??W_??????|??r??*y?"??<!d.|? 3?	?.7??P??B??!S?^?8O?xD
T"H?p???i???g??
^?$?`???eWT???$?`?V??]?g???n??
?~?F??/?+??}V6??g?Q??a?Lo?X??Q???b?j?X???._??2YU?????|?J???[A?AM?Z$:??????.j?{b????4*Yo\???~??{??
??f????<k?%?}??$?.??j??r^?,?~U?x??>?=??=??,??V??2?4?T?????k???z?Ñ????nLm1?????)?NreB3?(+??[wM???y??53}??A??T????vMAx????!??fdr?=???c??6??????5???](4?6?????wwC@?U???-}[u]`s?
?u{pt?z?@O+?R????h???g?8?t%??p/???????:???Rs3?}?
k?Zm??d?5S2??B?P??tu?z?n?in?q???#?]{{?}??m#?{????H,????w??USP^? ?????=9?mm??/? +??:@,???:?S/K?n]I?r?{?k(o?????bt?H????J???????,q?L????&CR[?7??A??!k9??????
?;??_CH%-[???[S?:S???K??5?YI????[?k?xz?G?K%???-U@ns?rj??U???j?\???????$8C?C`?ln;?8?9d?oL????5:?rJ?&y??U?;)5?~??W?c?La/dM[qV?f&7?????Q??F???W??Z{?N????OH2?rek?%J?e?CV?|??n?)??z???al???y?;X???????s???B?<?0o?N??[?W??Bff??>???;?6|???@p-a	`?3{_.(2W???8W?M[,???l?????MMU64"?????R?????>?*#S?????
??=???????}?>??-=?q?%?KmP?~?????:?E????3?!9H???
????Y????Gb??B`????VzGp&???"?@(F?4?k?H???? ?c6?????2??[???31,<L???L$?????]?Xi_?O/E?0;K0`_?^
D????^!?Op9 ?H?1?w??_"?$:K??y&f??v??V?Lb?`?>4??O??l?,,??*&??V??`+??????V_V??s0?vX?%?5???`u?T	??1m?\i4bui??0?pT?W?PUV???>??rU?????@l?m?Dr??6?????s??|>?[,?L\???B"Tz6??L?x1
9S????M?0?)o?Z???EC7> ]
endbfrange
endcmap
CMapName currentdict /CMap defineresource pop
end
end

endstream
endobj
7 0 obj
<< /Type /Font
/Subtype /Type0
/BaseFont /TimesNewRomanBold
/Encoding /Identity-H
/DescendantFonts [30 0 R]
/ToUnicode 31 0 R>>
endobj
33 0 obj
<< /Type /FontDescriptor
/FontName /QHBAAA+ArialRegular
/Flags 4 
/FontBBox [-594.726562 -290.527343 1790.03906 930.175781 ]
/ItalicAngle 0 
/Ascent 651.367187 
/Descent -188.476562 
/CapHeight 0 
/StemV 65.4296875 
/FontFile2 34 0 R
>>
endobj
34 0 obj
<<
/Length1 13280 
/Length 37 0 R
/Filter /FlateDecode
>>
stream
x??Ykl?u??R?D?$E?zY??!-?/??H??\rW???$?X?<?3?q?????L?EZ???$?\ ?lD@?8i?Ak?i???h??F?-??S??????9??????H?info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t0].[Uuid], [t0].[SoDinhDanh], [t0].[HoVaTenDem], [t0].[Ten], [t0].[GioiTinh], [t0].[DienThoai], [t0].[Email]
      FROM (
          SELECT [t].[Uuid], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[SoDinhDanh], [t].[Ten]
          FROM [ThongTinCaNhan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
          ORDER BY [t].[Uuid]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t0]
      ORDER BY [t0].[Uuid]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [ThongTinCaNhan] AS [t]
      WHERE [t].[DeletedDate] IS NULL
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"donThuNguoiDungDons":[{"thongTinCaNhanId":"e2503162-3e7c-4266-8ffb-00e7d671e0ef","loai":"DUNGDON"}],"donThuNguoiUyQuyen":{"thongTinCaNhanId":"ae1f81bc-69ec-4ac7-953b-007634883e2a"},"fileId":"36c7a9dc-15d4-4b49-802e-b76a5fbec269","tiepDan":{"soTiepNhan":"8282822","ngayTiepDan":"2025-02-10T10:23:16+07:00","ngayHenTra":"2025-02-20T10:23:16+07:00","dmHinhThucTiepDanId":1,"tiepDanXuLy":{"ngayXuLy":"2025-02-10T10:23:16+07:00","dmXuLyTiepDanId":3,"yKienXuLy":"ahahaha"},"fileId":"6f6378af-f004-49f9-8729-b454adc77b21","tiepDanCanBoDuocUyQuyen":{"canBoId":"bf21da3c-eb3e-4f8c-aeee-1253f74a5ff0"}},"phanTheoSoNguoi":"Mot","dmNhiemKyId":11,"dmPhanTheoNoiDungId":2,"dmLinhVucId":74,"phanTheoDieuKien":"KhongDuDieuKien","noiDungDon":"ádasd","dmLoaiDoiTuongId":4,"thoiGianTiepNhan":"2025-02-10T10:23:16+07:00","donThuXuLys":[{"ngayTiepNhan":"2025-02-10T10:23:16+07:00","fileId":"c6a593b5-0959-4f8a-b95e-ae8a74b72c0b","dmLoaiHinhTiepNhanId":2}],"noiGhiNhanTinhCode":"52","noiGhiNhanHuyenCode":"540","noiGhiNhanCode":"21571"}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [o].[Uuid], [o].[CId], [o].[Code], [o].[CreatedBy], [o].[CreatedDate], [o].[DMCapHanhChinhId], [o].[DMHuyenCode], [o].[DMTinhCode], [o].[DMXaCode], [o].[DeletedBy], [o].[DeletedDate], [o].[Email], [o].[Fax], [o].[OrganAdd], [o].[OrganId], [o].[OrganName], [o].[OrganizationInChargeId], [o].[State], [o].[Telephone], [o].[UpdatedBy], [o].[UpdatedDate], [o].[Website]
      FROM [Organization] AS [o]
      WHERE ([o].[DeletedDate] IS NULL) AND [o].[Uuid] = @__OrganizationId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@___currentUserExt_User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @___currentUserExt_User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @___currentUserExt_User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (134ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 50), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (DbType = Guid), @p8='?' (Size = 4000), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Guid), @p15='?' (DbType = Guid), @p16='?' (Size = 50), @p17='?' (Size = 50), @p18='?' (DbType = DateTime2), @p19='?' (DbType = Int32), @p20='?' (DbType = Int32), @p21='?' (DbType = Int32), @p22='?' (DbType = Int32), @p23='?' (DbType = Int32), @p24='?' (Size = 50), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (DbType = Guid), @p28='?' (Size = 4000), @p29='?' (DbType = Int32), @p30='?' (Size = 500), @p31='?' (Size = 4000), @p32='?' (Size = 10), @p33='?' (Size = 4000), @p34='?' (Size = 5), @p35='?' (Size = 5), @p36='?' (DbType = Guid), @p37='?' (DbType = Int32), @p38='?' (DbType = Int32), @p39='?' (Size = 4000), @p40='?' (Size = 4000), @p41='?' (Size = 4000), @p42='?' (DbType = DateTime2), @p43='?' (DbType = Guid), @p44='?' (Size = 50), @p45='?' (DbType = DateTime2), @p46='?' (DbType = Guid), @p47='?' (DbType = Guid), @p48='?' (DbType = Guid), @p49='?' (Size = 50), @p50='?' (DbType = DateTime2), @p51='?' (DbType = Int32), @p52='?' (DbType = Int32), @p53='?' (Size = 50), @p54='?' (DbType = DateTime2), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (DbType = Guid), @p58='?' (DbType = Guid), @p59='?' (Size = 50), @p60='?' (DbType = DateTime2), @p61='?' (DbType = Guid), @p62='?' (DbType = Guid), @p63='?' (Size = 50), @p64='?' (DbType = DateTime2), @p65='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (Size = 50), @p68='?' (DbType = DateTime2), @p69='?' (DbType = Boolean), @p70='?' (DbType = Boolean), @p71='?' (DbType = Guid), @p72='?' (DbType = Guid), @p73='?' (Size = 50), @p74='?' (DbType = DateTime2), @p75='?' (DbType = Guid), @p76='?' (DbType = Guid), @p77='?' (Size = 50), @p78='?' (DbType = DateTime2), @p79='?' (DbType = Int32), @p80='?' (Size = 50), @p81='?' (DbType = DateTime2), @p82='?' (DbType = Guid), @p83='?' (Size = 4000), @p84='?' (DbType = DateTime2), @p85='?' (Size = 50), @p86='?' (DbType = DateTime2), @p87='?' (DbType = Guid), @p88='?' (Size = 4000), @p89='?' (DbType = Guid), @p90='?' (DbType = Guid), @p91='?' (Size = 50), @p92='?' (DbType = DateTime2), @p93='?' (DbType = Int32), @p94='?' (DbType = Int32), @p95='?' (Size = 50), @p96='?' (DbType = DateTime2), @p97='?' (DbType = Boolean), @p98='?' (DbType = Boolean), @p99='?' (DbType = Guid), @p100='?' (DbType = Guid), @p101='?' (Size = 50), @p102='?' (DbType = DateTime2), @p103='?' (DbType = Guid), @p104='?' (DbType = Guid), @p105='?' (Size = 4000), @p106='?' (Size = 50), @p107='?' (DbType = DateTime2), @p108='?' (Size = 50), @p109='?' (DbType = DateTime2), @p110='?' (DbType = DateTime2), @p111='?' (Size = 4000), @p112='?' (Size = 50), @p113='?' (DbType = DateTime2), @p114='?' (DbType = Guid), @p115='?' (DbType = Guid), @p116='?' (Size = 50), @p117='?' (DbType = DateTime2), @p118='?' (Size = 50), @p119='?' (DbType = DateTime2), @p120='?' (Size = 10), @p121='?' (Size = 500), @p122='?' (Size = 5), @p123='?' (Size = 5), @p124='?' (Size = 50), @p125='?' (DbType = DateTime2), @p126='?' (DbType = Guid), @p127='?' (Size = 50), @p128='?' (DbType = DateTime2), @p129='?' (Size = 50), @p130='?' (DbType = DateTime2), @p131='?' (DbType = DateTime2), @p132='?' (Size = 4000), @p133='?' (Size = 4000), @p134='?' (DbType = Guid), @p135='?' (Size = 4000), @p136='?' (Size = 50), @p137='?' (DbType = DateTime2), @p138='?' (DbType = Guid), @p139='?' (Size = 50), @p140='?' (DbType = DateTime2), @p141='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p142='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p143='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p144='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p145='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p146='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p147='?' (Size = 50), @p148='?' (DbType = DateTime2), @p149='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p150='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p151='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p152='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p153='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p154='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p155='?' (Size = 50), @p156='?' (DbType = DateTime2), @p157='?' (DbType = Guid), @p158='?' (Size = 50), @p159='?' (DbType = DateTime2), @p160='?' (DbType = Int32), @p161='?' (DbType = Int32), @p162='?' (DbType = Int32), @p163='?' (DbType = Int32), @p164='?' (DbType = Int32), @p165='?' (Size = 50), @p166='?' (DbType = DateTime2), @p167='?' (DbType = Guid), @p168='?' (DbType = Guid), @p169='?' (Size = 4000), @p170='?' (DbType = DateTime2), @p171='?' (DbType = DateTime2), @p172='?' (DbType = DateTime2), @p173='?' (DbType = Guid), @p174='?' (DbType = DateTime2), @p175='?' (Size = 50), @p176='?' (DbType = DateTime2), @p177='?' (DbType = Guid), @p178='?' (Size = 4000), @p179='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET NOCOUNT ON;
      INSERT INTO [TiepDan] ([Uuid], [CreatedBy], [CreatedDate], [DMHinhThucTiepDanId], [DeletedBy], [DeletedDate], [DiaDiemTiepDan], [FileId], [LyDoTuChoi], [NgayHenTra], [NgayTiepDan], [SoTiepNhan], [UpdatedBy], [UpdatedDate], [UserId])
      OUTPUT INSERTED.[CId], INSERTED.[IsCongDanDen], INSERTED.[IsTuChoi]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14);
      INSERT INTO [DonThu] ([Id], [Code], [CreatedBy], [CreatedDate], [DMLinhVucId], [DMLoaiDoiTuongId], [DMNhiemKyId], [DMPhanTheoNoiDungId], [DMTrungDonId], [DeletedBy], [DeletedDate], [DiaChiCoQuan], [FileId], [GhiChu], [LanThu], [Name], [NoiDungDon], [NoiGhiNhanCode], [NoiGhiNhanCuThe], [NoiGhiNhanHuyenCode], [NoiGhiNhanTinhCode], [ParentUuid], [PhanTheoDieuKien], [PhanTheoSoNguoi], [SDTCoQuan], [SoVanBan], [TenCoQuan], [ThoiGianTiepNhan], [TiepDanId], [UpdatedBy], [UpdatedDate], [UserId])
      OUTPUT INSERTED.[CID], INSERTED.[SoNguoi], INSERTED.[SoNguoiDaiDien]
      VALUES (@p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, @p46);
      INSERT INTO [TiepDanCanBoDuocUyQuyen] ([TiepDanId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate])
      VALUES (@p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60);
      INSERT INTO [TiepDanCanBoTiepNhan] ([TiepDanId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate], [UserId])
      VALUES (@p61, @p62, @p63, @p64, @p65, @p66, @p67, @p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75);
      INSERT INTO [TiepDanXuLy] ([TiepDanId], [CreatedBy], [CreatedDate], [DMXuLyTiepDanId], [DeletedBy], [DeletedDate], [FileId], [GhiChu], [NgayXuLy], [UpdatedBy], [UpdatedDate], [UserId], [YKienXuLy])
      VALUES (@p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88);
      INSERT INTO [DonThuCanBoTiepNhan] ([DonThuId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate], [UserId])
      VALUES (@p89, @p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103);
      INSERT INTO [DonThuCoQuanDaGiaiQuyet] ([DonThuId], [CoQuanDaGiaiQuyet], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NgayBanHanh], [SoVanBanDaGiaiQuyet], [UpdatedBy], [UpdatedDate])
      VALUES (@p104, @p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113);
      INSERT INTO [DonThuNguoiDungDon] ([DonThuId], [ThongTinCaNhanId], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NoiOCode], [NoiOCuThe], [NoiOHuyenCode], [NoiOTinhCode], [UpdatedBy], [UpdatedDate])
      OUTPUT INSERTED.[Loai]
      VALUES (@p114, @p115, @p116, @p117, @p118, @p119, @p120, @p121, @p122, @p123, @p124, @p125);
      INSERT INTO [DonThuNguoiUyQuyen] ([DonThuId], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NgayCap], [NoiCap], [SoThe], [ThongTinCaNhanId], [ThongTinGioiThieu], [UpdatedBy], [UpdatedDate])
      OUTPUT INSERTED.[IsLuatSu]
      VALUES (@p126, @p127, @p128, @p129, @p130, @p131, @p132, @p133, @p134, @p135, @p136, @p137);
      INSERT INTO [DonThuThucHien] ([DonThuId], [CreatedBy], [CreatedDate], [DatDaThuNhaNuoc], [DatDaTraCongDan], [DatDaTraToChuc], [DatPhaiThuNhaNuoc], [DatPhaiTraCongDan], [DatPhaiTraToChuc], [DeletedBy], [DeletedDate], [TienDaThuNhaNuoc], [TienDaTraCongDan], [TienDaTraToChuc], [TienPhaiThuNhaNuoc], [TienPhaiTraCongDan], [TienPhaiTraToChuc], [UpdatedBy], [UpdatedDate])
      VALUES (@p138, @p139, @p140, @p141, @p142, @p143, @p144, @p145, @p146, @p147, @p148, @p149, @p150, @p151, @p152, @p153, @p154, @p155, @p156);
      INSERT INTO [DonThuXuLy] ([Id], [CreatedBy], [CreatedDate], [DMHinhThucXuLyDonId], [DMLoaiHinhTiepNhanId], [DMNhomThamQuyenGiaiQuyetId], [DMPhanTheoThamQuyenId], [DMTrangThaiXuLyDonId], [DeletedBy], [DeletedDate], [DonThuId], [FileId], [GhiChu], [NgayTiepNhan], [NgayVanBan], [NgayXuLy], [ParentUuid], [ThoiHanXuLy], [UpdatedBy], [UpdatedDate], [UserId], [VanBan], [YKienXuLy])
      OUTPUT INSERTED.[CID], INSERTED.[IsYeuCauBaoCao]
      VALUES (@p157, @p158, @p159, @p160, @p161, @p162, @p163, @p164, @p165, @p166, @p167, @p168, @p169, @p170, @p171, @p172, @p173, @p174, @p175, @p176, @p177, @p178, @p179);
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:24:38.0538513Z", LastUpdateTimestamp: "2025-02-10T03:24:38.0538616Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:24:38.3815086Z", LastUpdateTimestamp: "2025-02-10T03:24:38.3815212Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:24:39.2039399Z", LastUpdateTimestamp: "2025-02-10T03:24:39.2039637Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'AddNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:25:05.5439619Z", LastUpdateTimestamp: "2025-02-10T03:25:05.5439706Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:25:05.8725906Z", LastUpdateTimestamp: "2025-02-10T03:25:05.8725984Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:24:59.2081827Z", LastUpdateTimestamp: "2025-02-10T03:24:59.2081947Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.UnaryServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request)
      --- End of stack trace from previous location ---
         at Grpc.AspNetCore.Server.Internal.CallHandlers.UnaryServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (11ms) [Parameters=[@__uuid_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DonThu] AS [d]
              WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__uuid_0) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"donThuNguoiDungDons":[{"thongTinCaNhanId":"e2503162-3e7c-4266-8ffb-00e7d671e0ef","loai":"DUNGDON"}],"donThuNguoiUyQuyen":{"thongTinCaNhanId":"ae1f81bc-69ec-4ac7-953b-007634883e2a"},"fileId":"36c7a9dc-15d4-4b49-802e-b76a5fbec269","tiepDan":{"soTiepNhan":"8282822","ngayTiepDan":"2025-02-10T10:23:16+07:00","ngayHenTra":"2025-02-20T10:23:16+07:00","dmHinhThucTiepDanId":1,"tiepDanXuLy":{"ngayXuLy":"2025-02-10T10:23:16+07:00","dmXuLyTiepDanId":3,"yKienXuLy":"ahahaha"},"fileId":"6f6378af-f004-49f9-8729-b454adc77b21","tiepDanCanBoDuocUyQuyen":{"canBoId":"bf21da3c-eb3e-4f8c-aeee-1253f74a5ff0"}},"phanTheoSoNguoi":"Mot","dmNhiemKyId":11,"dmPhanTheoNoiDungId":2,"dmLinhVucId":74,"phanTheoDieuKien":"KhongDuDieuKien","noiDungDon":"ádasd","dmLoaiDoiTuongId":4,"thoiGianTiepNhan":"2025-02-10T10:23:16+07:00","donThuXuLys":[{"ngayTiepNhan":"2025-02-10T10:23:16+07:00","fileId":"258a2361-3a8f-4669-a499-7d167ddb7ead","dmLoaiHinhTiepNhanId":2}],"noiGhiNhanTinhCode":"52","noiGhiNhanHuyenCode":"540","noiGhiNhanCode":"21571"}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [o].[Uuid], [o].[CId], [o].[Code], [o].[CreatedBy], [o].[CreatedDate], [o].[DMCapHanhChinhId], [o].[DMHuyenCode], [o].[DMTinhCode], [o].[DMXaCode], [o].[DeletedBy], [o].[DeletedDate], [o].[Email], [o].[Fax], [o].[OrganAdd], [o].[OrganId], [o].[OrganName], [o].[OrganizationInChargeId], [o].[State], [o].[Telephone], [o].[UpdatedBy], [o].[UpdatedDate], [o].[Website]
      FROM [Organization] AS [o]
      WHERE ([o].[DeletedDate] IS NULL) AND [o].[Uuid] = @__OrganizationId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @___currentUserExt_User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @___currentUserExt_User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 50), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (DbType = Guid), @p8='?' (Size = 4000), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Guid), @p15='?' (DbType = Guid), @p16='?' (Size = 50), @p17='?' (Size = 50), @p18='?' (DbType = DateTime2), @p19='?' (DbType = Int32), @p20='?' (DbType = Int32), @p21='?' (DbType = Int32), @p22='?' (DbType = Int32), @p23='?' (DbType = Int32), @p24='?' (Size = 50), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (DbType = Guid), @p28='?' (Size = 4000), @p29='?' (DbType = Int32), @p30='?' (Size = 500), @p31='?' (Size = 4000), @p32='?' (Size = 10), @p33='?' (Size = 4000), @p34='?' (Size = 5), @p35='?' (Size = 5), @p36='?' (DbType = Guid), @p37='?' (DbType = Int32), @p38='?' (DbType = Int32), @p39='?' (Size = 4000), @p40='?' (Size = 4000), @p41='?' (Size = 4000), @p42='?' (DbType = DateTime2), @p43='?' (DbType = Guid), @p44='?' (Size = 50), @p45='?' (DbType = DateTime2), @p46='?' (DbType = Guid), @p47='?' (DbType = Guid), @p48='?' (DbType = Guid), @p49='?' (Size = 50), @p50='?' (DbType = DateTime2), @p51='?' (DbType = Int32), @p52='?' (DbType = Int32), @p53='?' (Size = 50), @p54='?' (DbType = DateTime2), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (DbType = Guid), @p58='?' (DbType = Guid), @p59='?' (Size = 50), @p60='?' (DbType = DateTime2), @p61='?' (DbType = Guid), @p62='?' (DbType = Guid), @p63='?' (Size = 50), @p64='?' (DbType = DateTime2), @p65='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (Size = 50), @p68='?' (DbType = DateTime2), @p69='?' (DbType = Boolean), @p70='?' (DbType = Boolean), @p71='?' (DbType = Guid), @p72='?' (DbType = Guid), @p73='?' (Size = 50), @p74='?' (DbType = DateTime2), @p75='?' (DbType = Guid), @p76='?' (DbType = Guid), @p77='?' (Size = 50), @p78='?' (DbType = DateTime2), @p79='?' (DbType = Int32), @p80='?' (Size = 50), @p81='?' (DbType = DateTime2), @p82='?' (DbType = Guid), @p83='?' (Size = 4000), @p84='?' (DbType = DateTime2), @p85='?' (Size = 50), @p86='?' (DbType = DateTime2), @p87='?' (DbType = Guid), @p88='?' (Size = 4000), @p89='?' (DbType = Guid), @p90='?' (DbType = Guid), @p91='?' (Size = 50), @p92='?' (DbType = DateTime2), @p93='?' (DbType = Int32), @p94='?' (DbType = Int32), @p95='?' (Size = 50), @p96='?' (DbType = DateTime2), @p97='?' (DbType = Boolean), @p98='?' (DbType = Boolean), @p99='?' (DbType = Guid), @p100='?' (DbType = Guid), @p101='?' (Size = 50), @p102='?' (DbType = DateTime2), @p103='?' (DbType = Guid), @p104='?' (DbType = Guid), @p105='?' (Size = 4000), @p106='?' (Size = 50), @p107='?' (DbType = DateTime2), @p108='?' (Size = 50), @p109='?' (DbType = DateTime2), @p110='?' (DbType = DateTime2), @p111='?' (Size = 4000), @p112='?' (Size = 50), @p113='?' (DbType = DateTime2), @p114='?' (DbType = Guid), @p115='?' (DbType = Guid), @p116='?' (Size = 50), @p117='?' (DbType = DateTime2), @p118='?' (Size = 50), @p119='?' (DbType = DateTime2), @p120='?' (Size = 10), @p121='?' (Size = 500), @p122='?' (Size = 5), @p123='?' (Size = 5), @p124='?' (Size = 50), @p125='?' (DbType = DateTime2), @p126='?' (DbType = Guid), @p127='?' (Size = 50), @p128='?' (DbType = DateTime2), @p129='?' (Size = 50), @p130='?' (DbType = DateTime2), @p131='?' (DbType = DateTime2), @p132='?' (Size = 4000), @p133='?' (Size = 4000), @p134='?' (DbType = Guid), @p135='?' (Size = 4000), @p136='?' (Size = 50), @p137='?' (DbType = DateTime2), @p138='?' (DbType = Guid), @p139='?' (Size = 50), @p140='?' (DbType = DateTime2), @p141='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p142='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p143='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p144='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p145='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p146='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p147='?' (Size = 50), @p148='?' (DbType = DateTime2), @p149='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p150='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p151='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p152='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p153='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p154='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p155='?' (Size = 50), @p156='?' (DbType = DateTime2), @p157='?' (DbType = Guid), @p158='?' (Size = 50), @p159='?' (DbType = DateTime2), @p160='?' (DbType = Int32), @p161='?' (DbType = Int32), @p162='?' (DbType = Int32), @p163='?' (DbType = Int32), @p164='?' (DbType = Int32), @p165='?' (Size = 50), @p166='?' (DbType = DateTime2), @p167='?' (DbType = Guid), @p168='?' (DbType = Guid), @p169='?' (Size = 4000), @p170='?' (DbType = DateTime2), @p171='?' (DbType = DateTime2), @p172='?' (DbType = DateTime2), @p173='?' (DbType = Guid), @p174='?' (DbType = DateTime2), @p175='?' (Size = 50), @p176='?' (DbType = DateTime2), @p177='?' (DbType = Guid), @p178='?' (Size = 4000), @p179='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET NOCOUNT ON;
      INSERT INTO [TiepDan] ([Uuid], [CreatedBy], [CreatedDate], [DMHinhThucTiepDanId], [DeletedBy], [DeletedDate], [DiaDiemTiepDan], [FileId], [LyDoTuChoi], [NgayHenTra], [NgayTiepDan], [SoTiepNhan], [UpdatedBy], [UpdatedDate], [UserId])
      OUTPUT INSERTED.[CId], INSERTED.[IsCongDanDen], INSERTED.[IsTuChoi]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14);
      INSERT INTO [DonThu] ([Id], [Code], [CreatedBy], [CreatedDate], [DMLinhVucId], [DMLoaiDoiTuongId], [DMNhiemKyId], [DMPhanTheoNoiDungId], [DMTrungDonId], [DeletedBy], [DeletedDate], [DiaChiCoQuan], [FileId], [GhiChu], [LanThu], [Name], [NoiDungDon], [NoiGhiNhanCode], [NoiGhiNhanCuThe], [NoiGhiNhanHuyenCode], [NoiGhiNhanTinhCode], [ParentUuid], [PhanTheoDieuKien], [PhanTheoSoNguoi], [SDTCoQuan], [SoVanBan], [TenCoQuan], [ThoiGianTiepNhan], [TiepDanId], [UpdatedBy], [UpdatedDate], [UserId])
      OUTPUT INSERTED.[CID], INSERTED.[SoNguoi], INSERTED.[SoNguoiDaiDien]
      VALUES (@p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, @p46);
      INSERT INTO [TiepDanCanBoDuocUyQuyen] ([TiepDanId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate])
      VALUES (@p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60);
      INSERT INTO [TiepDanCanBoTiepNhan] ([TiepDanId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate], [UserId])
      VALUES (@p61, @p62, @p63, @p64, @p65, @p66, @p67, @p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75);
      INSERT INTO [TiepDanXuLy] ([TiepDanId], [CreatedBy], [CreatedDate], [DMXuLyTiepDanId], [DeletedBy], [DeletedDate], [FileId], [GhiChu], [NgayXuLy], [UpdatedBy], [UpdatedDate], [UserId], [YKienXuLy])
      VALUES (@p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88);
      INSERT INTO [DonThuCanBoTiepNhan] ([DonThuId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate], [UserId])
      VALUES (@p89, @p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103);
      INSERT INTO [DonThuCoQuanDaGiaiQuyet] ([DonThuId], [CoQuanDaGiaiQuyet], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NgayBanHanh], [SoVanBanDaGiaiQuyet], [UpdatedBy], [UpdatedDate])
      VALUES (@p104, @p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113);
      INSERT INTO [DonThuNguoiDungDon] ([DonThuId], [ThongTinCaNhanId], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NoiOCode], [NoiOCuThe], [NoiOHuyenCode], [NoiOTinhCode], [UpdatedBy], [UpdatedDate])
      OUTPUT INSERTED.[Loai]
      VALUES (@p114, @p115, @p116, @p117, @p118, @p119, @p120, @p121, @p122, @p123, @p124, @p125);
      INSERT INTO [DonThuNguoiUyQuyen] ([DonThuId], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NgayCap], [NoiCap], [SoThe], [ThongTinCaNhanId], [ThongTinGioiThieu], [UpdatedBy], [UpdatedDate])
      OUTPUT INSERTED.[IsLuatSu]
      VALUES (@p126, @p127, @p128, @p129, @p130, @p131, @p132, @p133, @p134, @p135, @p136, @p137);
      INSERT INTO [DonThuThucHien] ([DonThuId], [CreatedBy], [CreatedDate], [DatDaThuNhaNuoc], [DatDaTraCongDan], [DatDaTraToChuc], [DatPhaiThuNhaNuoc], [DatPhaiTraCongDan], [DatPhaiTraToChuc], [DeletedBy], [DeletedDate], [TienDaThuNhaNuoc], [TienDaTraCongDan], [TienDaTraToChuc], [TienPhaiThuNhaNuoc], [TienPhaiTraCongDan], [TienPhaiTraToChuc], [UpdatedBy], [UpdatedDate])
      VALUES (@p138, @p139, @p140, @p141, @p142, @p143, @p144, @p145, @p146, @p147, @p148, @p149, @p150, @p151, @p152, @p153, @p154, @p155, @p156);
      INSERT INTO [DonThuXuLy] ([Id], [CreatedBy], [CreatedDate], [DMHinhThucXuLyDonId], [DMLoaiHinhTiepNhanId], [DMNhomThamQuyenGiaiQuyetId], [DMPhanTheoThamQuyenId], [DMTrangThaiXuLyDonId], [DeletedBy], [DeletedDate], [DonThuId], [FileId], [GhiChu], [NgayTiepNhan], [NgayVanBan], [NgayXuLy], [ParentUuid], [ThoiHanXuLy], [UpdatedBy], [UpdatedDate], [UserId], [VanBan], [YKienXuLy])
      OUTPUT INSERTED.[CID], INSERTED.[IsYeuCauBaoCao]
      VALUES (@p157, @p158, @p159, @p160, @p161, @p162, @p163, @p164, @p165, @p166, @p167, @p168, @p169, @p170, @p171, @p172, @p173, @p174, @p175, @p176, @p177, @p178, @p179);
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'AddNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:26:45.1097970Z", LastUpdateTimestamp: "2025-02-10T03:26:45.1098126Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:26:45.1097397Z", LastUpdateTimestamp: "2025-02-10T03:26:45.1097517Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:26:39.2285064Z", LastUpdateTimestamp: "2025-02-10T03:26:39.2285196Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.UnaryServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request)
      --- End of stack trace from previous location ---
         at Grpc.AspNetCore.Server.Internal.CallHandlers.UnaryServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__uuid_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DonThu] AS [d]
              WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__uuid_0) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"username":"superadmin@gmail.com","password":"@Nextformvn2024@"}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[ClaimType], [a].[ClaimValue]
      FROM [AspNetRoleClaims] AS [a]
      WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[UserId], [a].[RoleId]
      FROM [AspNetUserRoles] AS [a]
      WHERE [a].[UserId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__roleId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__roleId_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[UserId], [a].[RoleId]
      FROM [AspNetUserRoles] AS [a]
      WHERE [a].[UserId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__roleId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__roleId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [o].[Uuid], [o].[CId], [o].[Code], [o].[CreatedBy], [o].[CreatedDate], [o].[DMCapHanhChinhId], [o].[DMHuyenCode], [o].[DMTinhCode], [o].[DMXaCode], [o].[DeletedBy], [o].[DeletedDate], [o].[Email], [o].[Fax], [o].[OrganAdd], [o].[OrganId], [o].[OrganName], [o].[OrganizationInChargeId], [o].[State], [o].[Telephone], [o].[UpdatedBy], [o].[UpdatedDate], [o].[Website]
      FROM [Organization] AS [o]
      WHERE ([o].[DeletedDate] IS NULL) AND [o].[Uuid] = @__OrganizationId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [o].[Uuid], [o].[CId], [o].[Code], [o].[CreatedBy], [o].[CreatedDate], [o].[DMCapHanhChinhId], [o].[DMHuyenCode], [o].[DMTinhCode], [o].[DMXaCode], [o].[DeletedBy], [o].[DeletedDate], [o].[Email], [o].[Fax], [o].[OrganAdd], [o].[OrganId], [o].[OrganName], [o].[OrganizationInChargeId], [o].[State], [o].[Telephone], [o].[UpdatedBy], [o].[UpdatedDate], [o].[Website]
      FROM [Organization] AS [o]
      WHERE ([o].[DeletedDate] IS NULL) AND [o].[Uuid] = @__OrganizationId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [o].[Uuid], [o].[CId], [o].[Code], [o].[CreatedBy], [o].[CreatedDate], [o].[DMCapHanhChinhId], [o].[DMHuyenCode], [o].[DMTinhCode], [o].[DMXaCode], [o].[DeletedBy], [o].[DeletedDate], [o].[Email], [o].[Fax], [o].[OrganAdd], [o].[OrganId], [o].[OrganName], [o].[OrganizationInChargeId], [o].[State], [o].[Telephone], [o].[UpdatedBy], [o].[UpdatedDate], [o].[Website]
      FROM [Organization] AS [o]
      WHERE ([o].[DeletedDate] IS NULL) AND [o].[Uuid] = @__OrganizationId_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'SuperAdmin'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__model_Month_0='?' (DbType = Int32), @__model_Year_1='?' (DbType = Int32), @___currentUser_User_Id_Value_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan], [t].[UserId]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[OrganizationId]
          FROM [TiepDanCanBoTiepNhan] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      LEFT JOIN (
          SELECT [t4].[TiepDanId], [t4].[UserId]
          FROM [TiepDanXuLy] AS [t4]
          WHERE [t4].[DeletedDate] IS NULL
      ) AS [t3] ON [t0].[Uuid] = [t3].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[TiepDanId] IS NOT NULL) AND [t0].[IsTuChoi] = CAST(0 AS bit) AND DATEPART(month, [t0].[NgayTiepDan]) = @__model_Month_0 AND DATEPART(year, [t0].[NgayTiepDan]) = @__model_Year_1 AND ([t0].[UserId] = @___currentUser_User_Id_Value_2 OR [t1].[OrganizationId] = @___currentUser_OrganizationId_3 OR [t3].[UserId] = @___currentUser_User_Id_Value_2)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__currentUser_OrganizationId_1='?' (DbType = Guid), @__currentUser_OrganizationId_2='?' (DbType = Guid), @__model_Month_3='?' (DbType = Int32), @__model_Year_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[CreatedBy], [d].[CreatedDate], [d].[DMHinhThucXuLyDonId], [d].[DMLoaiHinhTiepNhanId], [d].[DMNhomThamQuyenGiaiQuyetId], [d].[DMPhanTheoThamQuyenId], [d].[DMTrangThaiXuLyDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuId], [d].[FileId], [d].[GhiChu], [d].[IsYeuCauBaoCao], [d].[NgayTiepNhan], [d].[NgayVanBan], [d].[NgayXuLy], [d].[ParentUuid], [d].[ThoiHanXuLy], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId], [d].[VanBan], [d].[YKienXuLy]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[OrganizationId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [d1].[Id]
          FROM [DonThuXuLy] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[ParentUuid] = [t0].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[UserId] = @__currentUser_User_Id_Value_0 OR [t].[OrganizationId] = @__currentUser_OrganizationId_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLyChuyenDon] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND ([t0].[Id] IS NOT NULL) AND [t0].[Id] = [d2].[DonThuXuLyId] AND [d2].[CoQuanTiepNhanId] = @__currentUser_OrganizationId_2 AND [d2].[TrangThai] <> 2)) AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_3 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_4
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t6].[Code] AS [XuLyCode], [t6].[Name] AS [XuLyName], [t6].[IsXuLy], COUNT(*) AS [TongSo]
      FROM (
          SELECT [t4].[Code], [t4].[Name], CASE
              WHEN [t4].[Code] <> N'3' OR ([t4].[Code] IS NULL) OR (([t5].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d1]
                  LEFT JOIN (
                      SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d2]
                      WHERE [d2].[DeletedDate] IS NULL
                  ) AS [t7] ON [d1].[Id] = [t7].[DonThuXuLyId]
                  WHERE ([d1].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d1].[DonThuId] AND [t7].[OrganizationId] = @___currentUser_OrganizationId_0) AND ((
                  SELECT TOP(1) [t9].[Id]
                  FROM [DonThuXuLy] AS [d3]
                  LEFT JOIN (
                      SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d4]
                      WHERE [d4].[DeletedDate] IS NULL
                  ) AS [t8] ON [d3].[Id] = [t8].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d5]
                      WHERE [d5].[DeletedDate] IS NULL
                  ) AS [t9] ON [d3].[DMTrangThaiXuLyDonId] = [t9].[Id]
                  WHERE ([d3].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d3].[DonThuId] AND [t8].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL) AND (
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) = N'2' AND ((
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL)) THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [IsXuLy]
          FROM [TiepDan] AS [t]
          LEFT JOIN (
              SELECT [t1].[TiepDanId], [t1].[OrganizationId]
              FROM [TiepDanCanBoTiepNhan] AS [t1]
              WHERE [t1].[DeletedDate] IS NULL
          ) AS [t0] ON [t].[Uuid] = [t0].[TiepDanId]
          LEFT JOIN (
              SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t3]
              WHERE [t3].[DeletedDate] IS NULL
          ) AS [t2] ON [t].[Uuid] = [t2].[TiepDanId]
          LEFT JOIN (
              SELECT [d].[Id], [d].[Code], [d].[Name]
              FROM [DMXuLyTiepDan] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t4] ON [t2].[DMXuLyTiepDanId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d0].[Id], [d0].[TiepDanId]
              FROM [DonThu] AS [d0]
              WHERE [d0].[DeletedDate] IS NULL
          ) AS [t5] ON [t].[Uuid] = [t5].[TiepDanId]
          WHERE ([t].[DeletedDate] IS NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [t].[NgayTiepDan]) = @__model_Month_1 AND DATEPART(year, [t].[NgayTiepDan]) = @__model_Year_2
      ) AS [t6]
      GROUP BY [t6].[Code], [t6].[Name], [t6].[IsXuLy]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT (COALESCE([t0].[HoVaTenDem], N'') + N' ') + COALESCE([t0].[Ten], N'') AS [HoVaTen], [t2].[Name] AS [ChucVu], COUNT(*) AS [SoDon]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[DMChucVuId], [d0].[OrganizationId], [d0].[ThongTinCaNhanId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [t1].[Uuid], [t1].[HoVaTenDem], [t1].[Ten]
          FROM [ThongTinCaNhan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [t].[ThongTinCaNhanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMChucVu] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t2] ON [t].[DMChucVuId] = [t2].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND [t].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_1 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_2
      GROUP BY [t0].[HoVaTenDem], [t0].[Ten], [t2].[Name]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:46:35.5468156Z", LastUpdateTimestamp: "2025-02-10T03:46:35.5468326Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:46:35.8523392Z", LastUpdateTimestamp: "2025-02-10T03:46:35.8523590Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:46:29.4632252Z", LastUpdateTimestamp: "2025-02-10T03:46:29.4632425Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:47:05.5420202Z", LastUpdateTimestamp: "2025-02-10T03:47:05.5420272Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:47:05.8752047Z", LastUpdateTimestamp: "2025-02-10T03:47:05.8752181Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:46:59.4686099Z", LastUpdateTimestamp: "2025-02-10T03:46:59.4686231Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"username":"nguyenchia@gmail.com","password":"@Nextformvn2024@"}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[UserId], [a].[RoleId]
      FROM [AspNetUserRoles] AS [a]
      WHERE [a].[UserId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__roleId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__roleId_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[UserId], [a].[RoleId]
      FROM [AspNetUserRoles] AS [a]
      WHERE [a].[UserId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__roleId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__roleId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [o].[Uuid], [o].[CId], [o].[Code], [o].[CreatedBy], [o].[CreatedDate], [o].[DMCapHanhChinhId], [o].[DMHuyenCode], [o].[DMTinhCode], [o].[DMXaCode], [o].[DeletedBy], [o].[DeletedDate], [o].[Email], [o].[Fax], [o].[OrganAdd], [o].[OrganId], [o].[OrganName], [o].[OrganizationInChargeId], [o].[State], [o].[Telephone], [o].[UpdatedBy], [o].[UpdatedDate], [o].[Website]
      FROM [Organization] AS [o]
      WHERE ([o].[DeletedDate] IS NULL) AND [o].[Uuid] = @__OrganizationId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [o].[Uuid], [o].[CId], [o].[Code], [o].[CreatedBy], [o].[CreatedDate], [o].[DMCapHanhChinhId], [o].[DMHuyenCode], [o].[DMTinhCode], [o].[DMXaCode], [o].[DeletedBy], [o].[DeletedDate], [o].[Email], [o].[Fax], [o].[OrganAdd], [o].[OrganId], [o].[OrganName], [o].[OrganizationInChargeId], [o].[State], [o].[Telephone], [o].[UpdatedBy], [o].[UpdatedDate], [o].[Website]
      FROM [Organization] AS [o]
      WHERE ([o].[DeletedDate] IS NULL) AND [o].[Uuid] = @__OrganizationId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (Size = 10)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[HuyenCode], [d].[Name], [d].[Prefix], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMXa] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Code] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [o].[Uuid], [o].[CId], [o].[Code], [o].[CreatedBy], [o].[CreatedDate], [o].[DMCapHanhChinhId], [o].[DMHuyenCode], [o].[DMTinhCode], [o].[DMXaCode], [o].[DeletedBy], [o].[DeletedDate], [o].[Email], [o].[Fax], [o].[OrganAdd], [o].[OrganId], [o].[OrganName], [o].[OrganizationInChargeId], [o].[State], [o].[Telephone], [o].[UpdatedBy], [o].[UpdatedDate], [o].[Website]
      FROM [Organization] AS [o]
      WHERE ([o].[DeletedDate] IS NULL) AND [o].[Uuid] = @__OrganizationId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[TinhCode], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMHuyen] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Code] = @__p_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT (COALESCE([t0].[HoVaTenDem], N'') + N' ') + COALESCE([t0].[Ten], N'') AS [HoVaTen], [t2].[Name] AS [ChucVu], COUNT(*) AS [SoDon]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[DMChucVuId], [d0].[OrganizationId], [d0].[ThongTinCaNhanId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [t1].[Uuid], [t1].[HoVaTenDem], [t1].[Ten]
          FROM [ThongTinCaNhan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [t].[ThongTinCaNhanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMChucVu] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t2] ON [t].[DMChucVuId] = [t2].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND [t].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_1 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_2
      GROUP BY [t0].[HoVaTenDem], [t0].[Ten], [t2].[Name]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t6].[Code] AS [XuLyCode], [t6].[Name] AS [XuLyName], [t6].[IsXuLy], COUNT(*) AS [TongSo]
      FROM (
          SELECT [t4].[Code], [t4].[Name], CASE
              WHEN [t4].[Code] <> N'3' OR ([t4].[Code] IS NULL) OR (([t5].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d1]
                  LEFT JOIN (
                      SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d2]
                      WHERE [d2].[DeletedDate] IS NULL
                  ) AS [t7] ON [d1].[Id] = [t7].[DonThuXuLyId]
                  WHERE ([d1].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d1].[DonThuId] AND [t7].[OrganizationId] = @___currentUser_OrganizationId_0) AND ((
                  SELECT TOP(1) [t9].[Id]
                  FROM [DonThuXuLy] AS [d3]
                  LEFT JOIN (
                      SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d4]
                      WHERE [d4].[DeletedDate] IS NULL
                  ) AS [t8] ON [d3].[Id] = [t8].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d5]
                      WHERE [d5].[DeletedDate] IS NULL
                  ) AS [t9] ON [d3].[DMTrangThaiXuLyDonId] = [t9].[Id]
                  WHERE ([d3].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d3].[DonThuId] AND [t8].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL) AND (
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) = N'2' AND ((
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL)) THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [IsXuLy]
          FROM [TiepDan] AS [t]
          LEFT JOIN (
              SELECT [t1].[TiepDanId], [t1].[OrganizationId]
              FROM [TiepDanCanBoTiepNhan] AS [t1]
              WHERE [t1].[DeletedDate] IS NULL
          ) AS [t0] ON [t].[Uuid] = [t0].[TiepDanId]
          LEFT JOIN (
              SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t3]
              WHERE [t3].[DeletedDate] IS NULL
          ) AS [t2] ON [t].[Uuid] = [t2].[TiepDanId]
          LEFT JOIN (
              SELECT [d].[Id], [d].[Code], [d].[Name]
              FROM [DMXuLyTiepDan] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t4] ON [t2].[DMXuLyTiepDanId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d0].[Id], [d0].[TiepDanId]
              FROM [DonThu] AS [d0]
              WHERE [d0].[DeletedDate] IS NULL
          ) AS [t5] ON [t].[Uuid] = [t5].[TiepDanId]
          WHERE ([t].[DeletedDate] IS NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [t].[NgayTiepDan]) = @__model_Month_1 AND DATEPART(year, [t].[NgayTiepDan]) = @__model_Year_2
      ) AS [t6]
      GROUP BY [t6].[Code], [t6].[Name], [t6].[IsXuLy]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__model_Month_0='?' (DbType = Int32), @__model_Year_1='?' (DbType = Int32), @___currentUser_User_Id_Value_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan], [t].[UserId]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[OrganizationId]
          FROM [TiepDanCanBoTiepNhan] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      LEFT JOIN (
          SELECT [t4].[TiepDanId], [t4].[UserId]
          FROM [TiepDanXuLy] AS [t4]
          WHERE [t4].[DeletedDate] IS NULL
      ) AS [t3] ON [t0].[Uuid] = [t3].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[TiepDanId] IS NOT NULL) AND [t0].[IsTuChoi] = CAST(0 AS bit) AND DATEPART(month, [t0].[NgayTiepDan]) = @__model_Month_0 AND DATEPART(year, [t0].[NgayTiepDan]) = @__model_Year_1 AND ([t0].[UserId] = @___currentUser_User_Id_Value_2 OR [t1].[OrganizationId] = @___currentUser_OrganizationId_3 OR [t3].[UserId] = @___currentUser_User_Id_Value_2)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__currentUser_OrganizationId_1='?' (DbType = Guid), @__currentUser_OrganizationId_2='?' (DbType = Guid), @__model_Month_3='?' (DbType = Int32), @__model_Year_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[CreatedBy], [d].[CreatedDate], [d].[DMHinhThucXuLyDonId], [d].[DMLoaiHinhTiepNhanId], [d].[DMNhomThamQuyenGiaiQuyetId], [d].[DMPhanTheoThamQuyenId], [d].[DMTrangThaiXuLyDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuId], [d].[FileId], [d].[GhiChu], [d].[IsYeuCauBaoCao], [d].[NgayTiepNhan], [d].[NgayVanBan], [d].[NgayXuLy], [d].[ParentUuid], [d].[ThoiHanXuLy], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId], [d].[VanBan], [d].[YKienXuLy]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[OrganizationId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [d1].[Id]
          FROM [DonThuXuLy] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[ParentUuid] = [t0].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[UserId] = @__currentUser_User_Id_Value_0 OR [t].[OrganizationId] = @__currentUser_OrganizationId_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLyChuyenDon] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND ([t0].[Id] IS NOT NULL) AND [t0].[Id] = [d2].[DonThuXuLyId] AND [d2].[CoQuanTiepNhanId] = @__currentUser_OrganizationId_2 AND [d2].[TrangThai] <> 2)) AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_3 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_4
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (14ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:47:35.5472237Z", LastUpdateTimestamp: "2025-02-10T03:47:35.5472351Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:47:35.8741091Z", LastUpdateTimestamp: "2025-02-10T03:47:35.8741183Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:47:29.4730423Z", LastUpdateTimestamp: "2025-02-10T03:47:29.4730555Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:47:45.5422583Z", LastUpdateTimestamp: "2025-02-10T03:47:45.5422650Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:47:45.8744910Z", LastUpdateTimestamp: "2025-02-10T03:47:45.8745072Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:47:39.4738201Z", LastUpdateTimestamp: "2025-02-10T03:47:39.4738279Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:48:05.5466569Z", LastUpdateTimestamp: "2025-02-10T03:48:05.5466795Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:48:05.8767581Z", LastUpdateTimestamp: "2025-02-10T03:48:05.8767676Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:47:59.4794571Z", LastUpdateTimestamp: "2025-02-10T03:47:59.4794722Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:48:15.5456895Z", LastUpdateTimestamp: "2025-02-10T03:48:15.5457020Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:48:15.8689016Z", LastUpdateTimestamp: "2025-02-10T03:48:15.8689069Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:48:09.4798753Z", LastUpdateTimestamp: "2025-02-10T03:48:09.4798834Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:48:35.5462803Z", LastUpdateTimestamp: "2025-02-10T03:48:35.5462960Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:48:35.8782449Z", LastUpdateTimestamp: "2025-02-10T03:48:35.8782793Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:48:29.4836778Z", LastUpdateTimestamp: "2025-02-10T03:48:29.4837303Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:48:45.5479196Z", LastUpdateTimestamp: "2025-02-10T03:48:45.5479316Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:48:45.8743749Z", LastUpdateTimestamp: "2025-02-10T03:48:45.8743878Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:48:39.4836531Z", LastUpdateTimestamp: "2025-02-10T03:48:39.4836662Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:49:05.5428902Z", LastUpdateTimestamp: "2025-02-10T03:49:05.5429050Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:49:05.8750184Z", LastUpdateTimestamp: "2025-02-10T03:49:05.8750304Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:48:59.4856478Z", LastUpdateTimestamp: "2025-02-10T03:48:59.4856680Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:49:15.5484685Z", LastUpdateTimestamp: "2025-02-10T03:49:15.5484808Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:49:15.8772415Z", LastUpdateTimestamp: "2025-02-10T03:49:15.8772482Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:49:09.4878106Z", LastUpdateTimestamp: "2025-02-10T03:49:09.4878240Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:49:35.5461699Z", LastUpdateTimestamp: "2025-02-10T03:49:35.5462031Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:49:35.8768887Z", LastUpdateTimestamp: "2025-02-10T03:49:35.8769007Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:49:29.4928708Z", LastUpdateTimestamp: "2025-02-10T03:49:29.4929174Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:49:45.5470410Z", LastUpdateTimestamp: "2025-02-10T03:49:45.5470499Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:49:45.8750489Z", LastUpdateTimestamp: "2025-02-10T03:49:45.8750586Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:49:39.5059059Z", LastUpdateTimestamp: "2025-02-10T03:49:39.5059548Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT (COALESCE([t0].[HoVaTenDem], N'') + N' ') + COALESCE([t0].[Ten], N'') AS [HoVaTen], [t2].[Name] AS [ChucVu], COUNT(*) AS [SoDon]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[DMChucVuId], [d0].[OrganizationId], [d0].[ThongTinCaNhanId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [t1].[Uuid], [t1].[HoVaTenDem], [t1].[Ten]
          FROM [ThongTinCaNhan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [t].[ThongTinCaNhanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMChucVu] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t2] ON [t].[DMChucVuId] = [t2].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND [t].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_1 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_2
      GROUP BY [t0].[HoVaTenDem], [t0].[Ten], [t2].[Name]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__model_Month_0='?' (DbType = Int32), @__model_Year_1='?' (DbType = Int32), @___currentUser_User_Id_Value_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan], [t].[UserId]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[OrganizationId]
          FROM [TiepDanCanBoTiepNhan] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      LEFT JOIN (
          SELECT [t4].[TiepDanId], [t4].[UserId]
          FROM [TiepDanXuLy] AS [t4]
          WHERE [t4].[DeletedDate] IS NULL
      ) AS [t3] ON [t0].[Uuid] = [t3].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[TiepDanId] IS NOT NULL) AND [t0].[IsTuChoi] = CAST(0 AS bit) AND DATEPART(month, [t0].[NgayTiepDan]) = @__model_Month_0 AND DATEPART(year, [t0].[NgayTiepDan]) = @__model_Year_1 AND ([t0].[UserId] = @___currentUser_User_Id_Value_2 OR [t1].[OrganizationId] = @___currentUser_OrganizationId_3 OR [t3].[UserId] = @___currentUser_User_Id_Value_2)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__currentUser_OrganizationId_1='?' (DbType = Guid), @__currentUser_OrganizationId_2='?' (DbType = Guid), @__model_Month_3='?' (DbType = Int32), @__model_Year_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[CreatedBy], [d].[CreatedDate], [d].[DMHinhThucXuLyDonId], [d].[DMLoaiHinhTiepNhanId], [d].[DMNhomThamQuyenGiaiQuyetId], [d].[DMPhanTheoThamQuyenId], [d].[DMTrangThaiXuLyDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuId], [d].[FileId], [d].[GhiChu], [d].[IsYeuCauBaoCao], [d].[NgayTiepNhan], [d].[NgayVanBan], [d].[NgayXuLy], [d].[ParentUuid], [d].[ThoiHanXuLy], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId], [d].[VanBan], [d].[YKienXuLy]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[OrganizationId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [d1].[Id]
          FROM [DonThuXuLy] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[ParentUuid] = [t0].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[UserId] = @__currentUser_User_Id_Value_0 OR [t].[OrganizationId] = @__currentUser_OrganizationId_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLyChuyenDon] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND ([t0].[Id] IS NOT NULL) AND [t0].[Id] = [d2].[DonThuXuLyId] AND [d2].[CoQuanTiepNhanId] = @__currentUser_OrganizationId_2 AND [d2].[TrangThai] <> 2)) AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_3 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_4
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t6].[Code] AS [XuLyCode], [t6].[Name] AS [XuLyName], [t6].[IsXuLy], COUNT(*) AS [TongSo]
      FROM (
          SELECT [t4].[Code], [t4].[Name], CASE
              WHEN [t4].[Code] <> N'3' OR ([t4].[Code] IS NULL) OR (([t5].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d1]
                  LEFT JOIN (
                      SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d2]
                      WHERE [d2].[DeletedDate] IS NULL
                  ) AS [t7] ON [d1].[Id] = [t7].[DonThuXuLyId]
                  WHERE ([d1].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d1].[DonThuId] AND [t7].[OrganizationId] = @___currentUser_OrganizationId_0) AND ((
                  SELECT TOP(1) [t9].[Id]
                  FROM [DonThuXuLy] AS [d3]
                  LEFT JOIN (
                      SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d4]
                      WHERE [d4].[DeletedDate] IS NULL
                  ) AS [t8] ON [d3].[Id] = [t8].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d5]
                      WHERE [d5].[DeletedDate] IS NULL
                  ) AS [t9] ON [d3].[DMTrangThaiXuLyDonId] = [t9].[Id]
                  WHERE ([d3].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d3].[DonThuId] AND [t8].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL) AND (
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) = N'2' AND ((
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL)) THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [IsXuLy]
          FROM [TiepDan] AS [t]
          LEFT JOIN (
              SELECT [t1].[TiepDanId], [t1].[OrganizationId]
              FROM [TiepDanCanBoTiepNhan] AS [t1]
              WHERE [t1].[DeletedDate] IS NULL
          ) AS [t0] ON [t].[Uuid] = [t0].[TiepDanId]
          LEFT JOIN (
              SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t3]
              WHERE [t3].[DeletedDate] IS NULL
          ) AS [t2] ON [t].[Uuid] = [t2].[TiepDanId]
          LEFT JOIN (
              SELECT [d].[Id], [d].[Code], [d].[Name]
              FROM [DMXuLyTiepDan] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t4] ON [t2].[DMXuLyTiepDanId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d0].[Id], [d0].[TiepDanId]
              FROM [DonThu] AS [d0]
              WHERE [d0].[DeletedDate] IS NULL
          ) AS [t5] ON [t].[Uuid] = [t5].[TiepDanId]
          WHERE ([t].[DeletedDate] IS NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [t].[NgayTiepDan]) = @__model_Month_1 AND DATEPART(year, [t].[NgayTiepDan]) = @__model_Year_2
      ) AS [t6]
      GROUP BY [t6].[Code], [t6].[Name], [t6].[IsXuLy]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__model_Month_0='?' (DbType = Int32), @__model_Year_1='?' (DbType = Int32), @___currentUser_User_Id_Value_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan], [t].[UserId]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[OrganizationId]
          FROM [TiepDanCanBoTiepNhan] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      LEFT JOIN (
          SELECT [t4].[TiepDanId], [t4].[UserId]
          FROM [TiepDanXuLy] AS [t4]
          WHERE [t4].[DeletedDate] IS NULL
      ) AS [t3] ON [t0].[Uuid] = [t3].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[TiepDanId] IS NOT NULL) AND [t0].[IsTuChoi] = CAST(0 AS bit) AND DATEPART(month, [t0].[NgayTiepDan]) = @__model_Month_0 AND DATEPART(year, [t0].[NgayTiepDan]) = @__model_Year_1 AND ([t0].[UserId] = @___currentUser_User_Id_Value_2 OR [t1].[OrganizationId] = @___currentUser_OrganizationId_3 OR [t3].[UserId] = @___currentUser_User_Id_Value_2)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__currentUser_OrganizationId_1='?' (DbType = Guid), @__currentUser_OrganizationId_2='?' (DbType = Guid), @__model_Month_3='?' (DbType = Int32), @__model_Year_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[CreatedBy], [d].[CreatedDate], [d].[DMHinhThucXuLyDonId], [d].[DMLoaiHinhTiepNhanId], [d].[DMNhomThamQuyenGiaiQuyetId], [d].[DMPhanTheoThamQuyenId], [d].[DMTrangThaiXuLyDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuId], [d].[FileId], [d].[GhiChu], [d].[IsYeuCauBaoCao], [d].[NgayTiepNhan], [d].[NgayVanBan], [d].[NgayXuLy], [d].[ParentUuid], [d].[ThoiHanXuLy], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId], [d].[VanBan], [d].[YKienXuLy]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[OrganizationId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [d1].[Id]
          FROM [DonThuXuLy] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[ParentUuid] = [t0].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[UserId] = @__currentUser_User_Id_Value_0 OR [t].[OrganizationId] = @__currentUser_OrganizationId_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLyChuyenDon] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND ([t0].[Id] IS NOT NULL) AND [t0].[Id] = [d2].[DonThuXuLyId] AND [d2].[CoQuanTiepNhanId] = @__currentUser_OrganizationId_2 AND [d2].[TrangThai] <> 2)) AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_3 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_4
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t6].[Code] AS [XuLyCode], [t6].[Name] AS [XuLyName], [t6].[IsXuLy], COUNT(*) AS [TongSo]
      FROM (
          SELECT [t4].[Code], [t4].[Name], CASE
              WHEN [t4].[Code] <> N'3' OR ([t4].[Code] IS NULL) OR (([t5].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d1]
                  LEFT JOIN (
                      SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d2]
                      WHERE [d2].[DeletedDate] IS NULL
                  ) AS [t7] ON [d1].[Id] = [t7].[DonThuXuLyId]
                  WHERE ([d1].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d1].[DonThuId] AND [t7].[OrganizationId] = @___currentUser_OrganizationId_0) AND ((
                  SELECT TOP(1) [t9].[Id]
                  FROM [DonThuXuLy] AS [d3]
                  LEFT JOIN (
                      SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d4]
                      WHERE [d4].[DeletedDate] IS NULL
                  ) AS [t8] ON [d3].[Id] = [t8].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d5]
                      WHERE [d5].[DeletedDate] IS NULL
                  ) AS [t9] ON [d3].[DMTrangThaiXuLyDonId] = [t9].[Id]
                  WHERE ([d3].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d3].[DonThuId] AND [t8].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL) AND (
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) = N'2' AND ((
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL)) THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [IsXuLy]
          FROM [TiepDan] AS [t]
          LEFT JOIN (
              SELECT [t1].[TiepDanId], [t1].[OrganizationId]
              FROM [TiepDanCanBoTiepNhan] AS [t1]
              WHERE [t1].[DeletedDate] IS NULL
          ) AS [t0] ON [t].[Uuid] = [t0].[TiepDanId]
          LEFT JOIN (
              SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t3]
              WHERE [t3].[DeletedDate] IS NULL
          ) AS [t2] ON [t].[Uuid] = [t2].[TiepDanId]
          LEFT JOIN (
              SELECT [d].[Id], [d].[Code], [d].[Name]
              FROM [DMXuLyTiepDan] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t4] ON [t2].[DMXuLyTiepDanId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d0].[Id], [d0].[TiepDanId]
              FROM [DonThu] AS [d0]
              WHERE [d0].[DeletedDate] IS NULL
          ) AS [t5] ON [t].[Uuid] = [t5].[TiepDanId]
          WHERE ([t].[DeletedDate] IS NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [t].[NgayTiepDan]) = @__model_Month_1 AND DATEPART(year, [t].[NgayTiepDan]) = @__model_Year_2
      ) AS [t6]
      GROUP BY [t6].[Code], [t6].[Name], [t6].[IsXuLy]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT (COALESCE([t0].[HoVaTenDem], N'') + N' ') + COALESCE([t0].[Ten], N'') AS [HoVaTen], [t2].[Name] AS [ChucVu], COUNT(*) AS [SoDon]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[DMChucVuId], [d0].[OrganizationId], [d0].[ThongTinCaNhanId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [t1].[Uuid], [t1].[HoVaTenDem], [t1].[Ten]
          FROM [ThongTinCaNhan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [t].[ThongTinCaNhanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMChucVu] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t2] ON [t].[DMChucVuId] = [t2].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND [t].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_1 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_2
      GROUP BY [t0].[HoVaTenDem], [t0].[Ten], [t2].[Name]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:50:05.5444029Z", LastUpdateTimestamp: "2025-02-10T03:50:05.5444130Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:50:05.8798802Z", LastUpdateTimestamp: "2025-02-10T03:50:05.8798953Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:49:59.5094642Z", LastUpdateTimestamp: "2025-02-10T03:49:59.5094739Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:50:15.5442624Z", LastUpdateTimestamp: "2025-02-10T03:50:15.5442813Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:50:15.8792399Z", LastUpdateTimestamp: "2025-02-10T03:50:15.8792522Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:50:09.5122626Z", LastUpdateTimestamp: "2025-02-10T03:50:09.5122754Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (14ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:50:28.0464612Z", LastUpdateTimestamp: "2025-02-10T03:50:28.0464772Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:50:28.3819059Z", LastUpdateTimestamp: "2025-02-10T03:50:28.3819223Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:50:29.5142776Z", LastUpdateTimestamp: "2025-02-10T03:50:29.5142946Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
      ORDER BY (
          SELECT TOP(1) [d12].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d12]
          WHERE ([d12].[DeletedDate] IS NULL) AND [d].[Id] = [d12].[DonThuId]
          ORDER BY [d12].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
      ORDER BY (
          SELECT TOP(1) [d8].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d8]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId]
          ORDER BY [d8].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid), @__TypedProperty_9='?' (DbType = Int32), @__TypedProperty_10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t8].[Name], CASE
          WHEN [t8].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t10].[Id], [t10].[NgayChuyenDon], [t10].[Uuid], [t10].[TrangThai], [t10].[CID], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DMHinhThucXuLyDonId], [t10].[DMLoaiHinhTiepNhanId], [t10].[DMNhomThamQuyenGiaiQuyetId], [t10].[DMPhanTheoThamQuyenId], [t10].[DMTrangThaiXuLyDonId], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[DonThuId], [t10].[FileId], [t10].[GhiChu], [t10].[IsYeuCauBaoCao], [t10].[NgayTiepNhan], [t10].[NgayVanBan], [t10].[NgayXuLy], [t10].[ParentUuid], [t10].[ThoiHanXuLy], [t10].[UpdatedBy], [t10].[UpdatedDate], [t10].[UserId], [t10].[VanBan], [t10].[YKienXuLy], [t7].[Code], [t7].[NoiDungDon], [t7].[ThoiGianTiepNhan]
      FROM (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[ThoiGianTiepNhan], [t0].[Uuid], [t1].[TiepDanId] AS [TiepDanId0]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t].[Uuid]
              FROM [TiepDan] AS [t]
              WHERE [t].[DeletedDate] IS NULL
          ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
          LEFT JOIN (
              SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t2]
              WHERE [t2].[DeletedDate] IS NULL
          ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
          WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d0]
              WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d2]
                  WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d3]
                  WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d4]
              LEFT JOIN (
                  SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d5]
                  WHERE [d5].[DeletedDate] IS NULL
              ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d6]
              LEFT JOIN (
                  SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
                  FROM [DMTrangThaiXuLyDon] AS [d7]
                  WHERE [d7].[DeletedDate] IS NULL
              ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
              LEFT JOIN (
                  SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d8]
                  WHERE [d8].[DeletedDate] IS NULL
              ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
              LEFT JOIN (
                  SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
                  FROM [DonThuXuLy] AS [d9]
                  WHERE [d9].[DeletedDate] IS NULL
              ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d10]
                  WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
          ORDER BY [d].[Id]
          OFFSET @__TypedProperty_9 ROWS FETCH NEXT @__TypedProperty_10 ROWS ONLY
      ) AS [t7]
      LEFT JOIN (
          SELECT [d11].[Id], [d11].[Name]
          FROM [DMPhanTheoNoiDung] AS [d11]
          WHERE [d11].[DeletedDate] IS NULL
      ) AS [t8] ON [t7].[DMPhanTheoNoiDungId] = [t8].[Id]
      LEFT JOIN (
          SELECT [d12].[DonThuId], [d12].[ThongTinCaNhanId], [d12].[CreatedBy], [d12].[CreatedDate], [d12].[DeletedBy], [d12].[DeletedDate], [d12].[Loai], [d12].[NoiOCode], [d12].[NoiOCuThe], [d12].[NoiOHuyenCode], [d12].[NoiOTinhCode], [d12].[UpdatedBy], [d12].[UpdatedDate]
          FROM [DonThuNguoiDungDon] AS [d12]
          WHERE [d12].[DeletedDate] IS NULL
      ) AS [t9] ON [t7].[Id] = [t9].[DonThuId]
      LEFT JOIN (
          SELECT [d13].[Id], [t11].[NgayChuyenDon], [t11].[Uuid], [t11].[TrangThai], [d13].[CID], [d13].[CreatedBy], [d13].[CreatedDate], [d13].[DMHinhThucXuLyDonId], [d13].[DMLoaiHinhTiepNhanId], [d13].[DMNhomThamQuyenGiaiQuyetId], [d13].[DMPhanTheoThamQuyenId], [d13].[DMTrangThaiXuLyDonId], [d13].[DeletedBy], [d13].[DeletedDate], [d13].[DonThuId], [d13].[FileId], [d13].[GhiChu], [d13].[IsYeuCauBaoCao], [d13].[NgayTiepNhan], [d13].[NgayVanBan], [d13].[NgayXuLy], [d13].[ParentUuid], [d13].[ThoiHanXuLy], [d13].[UpdatedBy], [d13].[UpdatedDate], [d13].[UserId], [d13].[VanBan], [d13].[YKienXuLy]
          FROM [DonThuXuLy] AS [d13]
          LEFT JOIN (
              SELECT [d14].[NgayChuyenDon], [d14].[Uuid], [d14].[TrangThai], [d14].[DonThuXuLyId]
              FROM [DonThuXuLyChuyenDon] AS [d14]
              WHERE [d14].[DeletedDate] IS NULL
          ) AS [t11] ON [d13].[Id] = [t11].[DonThuXuLyId]
          WHERE [d13].[DeletedDate] IS NULL
      ) AS [t10] ON [t7].[Id] = [t10].[DonThuId]
      ORDER BY [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t10].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:50:33.0365659Z", LastUpdateTimestamp: "2025-02-10T03:50:33.0365782Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:50:33.3704271Z", LastUpdateTimestamp: "2025-02-10T03:50:33.3704394Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:50:29.5142776Z", LastUpdateTimestamp: "2025-02-10T03:50:29.5142946Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]

      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
      ORDER BY (
          SELECT TOP(1) [d12].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d12]
          WHERE ([d12].[DeletedDate] IS NULL) AND [d].[Id] = [d12].[DonThuId]
          ORDER BY [d12].[NgayTiepNhan] DESC) DESC
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DMLinhVucId], [d].[DMLoaiDoiTuongId], [d].[DMNhiemKyId], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DiaChiCoQuan], [d].[FileId], [d].[GhiChu], [d].[LanThu], [d].[Name], [d].[NoiDungDon], [d].[NoiGhiNhanCode], [d].[NoiGhiNhanCuThe], [d].[NoiGhiNhanHuyenCode], [d].[NoiGhiNhanTinhCode], [d].[ParentUuid], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[SDTCoQuan], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[SoVanBan], [d].[TenCoQuan], [d].[ThoiGianTiepNhan], [d].[TiepDanId], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId]
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
      ORDER BY (
          SELECT TOP(1) [d8].[NgayTiepNhan]
          FROM [DonThuXuLy] AS [d8]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId]
          ORDER BY [d8].[NgayTiepNhan] DESC) DESC
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          LEFT JOIN (
              SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
              FROM [DonThuXuLyCanBo] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d6]
          LEFT JOIN (
              SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
              FROM [DonThuXuLyCanBo] AS [d8]
              WHERE [d8].[DeletedDate] IS NULL
          ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
              FROM [DonThuXuLy] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
          WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d10]
              WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUserExt_CanBoId_0='?' (DbType = Guid), @___currentUser_User_Id_Value_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid), @__TypedProperty_9='?' (DbType = Int32), @__TypedProperty_10='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t8].[Name], CASE
          WHEN [t8].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t10].[Id], [t10].[NgayChuyenDon], [t10].[Uuid], [t10].[TrangThai], [t10].[CID], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DMHinhThucXuLyDonId], [t10].[DMLoaiHinhTiepNhanId], [t10].[DMNhomThamQuyenGiaiQuyetId], [t10].[DMPhanTheoThamQuyenId], [t10].[DMTrangThaiXuLyDonId], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[DonThuId], [t10].[FileId], [t10].[GhiChu], [t10].[IsYeuCauBaoCao], [t10].[NgayTiepNhan], [t10].[NgayVanBan], [t10].[NgayXuLy], [t10].[ParentUuid], [t10].[ThoiHanXuLy], [t10].[UpdatedBy], [t10].[UpdatedDate], [t10].[UserId], [t10].[VanBan], [t10].[YKienXuLy], [t7].[Code], [t7].[NoiDungDon], [t7].[ThoiGianTiepNhan]
      FROM (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[ThoiGianTiepNhan], [t0].[Uuid], [t1].[TiepDanId] AS [TiepDanId0]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t].[Uuid]
              FROM [TiepDan] AS [t]
              WHERE [t].[DeletedDate] IS NULL
          ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
          LEFT JOIN (
              SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t2]
              WHERE [t2].[DeletedDate] IS NULL
          ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
          WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d0]
              WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND ([d0].[DMHinhThucXuLyDonId] <> 7 OR ([d0].[DMHinhThucXuLyDonId] IS NULL))) AND (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d2]
                  WHERE ([d2].[DeletedDate] IS NULL) AND [d1].[Id] = [d2].[DonThuXuLyId] AND [d2].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d2].[TrangThai] <> 2) AND NOT (EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d3]
                  WHERE ([d3].[DeletedDate] IS NULL) AND [d1].[Id] = [d3].[ParentUuid]))) OR (([d].[UserId] = @___currentUser_User_Id_Value_1 OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d4]
              LEFT JOIN (
                  SELECT [d5].[DonThuXuLyId], [d5].[CanBoId], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMChucVuId], [d5].[DMPhongBanId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[IsLanhDao], [d5].[IsThuTruong], [d5].[OrganizationId], [d5].[ThongTinCaNhanId], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d5]
                  WHERE [d5].[DeletedDate] IS NULL
              ) AS [t3] ON [d4].[Id] = [t3].[DonThuXuLyId]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND [t3].[CanBoId] = @___currentUserExt_CanBoId_2)) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d6]
              LEFT JOIN (
                  SELECT [d7].[Id], [d7].[Code], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[Name], [d7].[Rank], [d7].[UpdatedBy], [d7].[UpdatedDate]
                  FROM [DMTrangThaiXuLyDon] AS [d7]
                  WHERE [d7].[DeletedDate] IS NULL
              ) AS [t4] ON [d6].[DMTrangThaiXuLyDonId] = [t4].[Id]
              LEFT JOIN (
                  SELECT [d8].[DonThuXuLyId], [d8].[CanBoId], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DMChucVuId], [d8].[DMPhongBanId], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[IsLanhDao], [d8].[IsThuTruong], [d8].[OrganizationId], [d8].[ThongTinCaNhanId], [d8].[UpdatedBy], [d8].[UpdatedDate], [d8].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d8]
                  WHERE [d8].[DeletedDate] IS NULL
              ) AS [t5] ON [d6].[Id] = [t5].[DonThuXuLyId]
              LEFT JOIN (
                  SELECT [d9].[Id], [d9].[CID], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMHinhThucXuLyDonId], [d9].[DMLoaiHinhTiepNhanId], [d9].[DMNhomThamQuyenGiaiQuyetId], [d9].[DMPhanTheoThamQuyenId], [d9].[DMTrangThaiXuLyDonId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[DonThuId], [d9].[FileId], [d9].[GhiChu], [d9].[IsYeuCauBaoCao], [d9].[NgayTiepNhan], [d9].[NgayVanBan], [d9].[NgayXuLy], [d9].[ParentUuid], [d9].[ThoiHanXuLy], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId], [d9].[VanBan], [d9].[YKienXuLy]
                  FROM [DonThuXuLy] AS [d9]
                  WHERE [d9].[DeletedDate] IS NULL
              ) AS [t6] ON [d6].[ParentUuid] = [t6].[Id]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d].[Id] = [d6].[DonThuId] AND [t4].[Code] = N'4' AND ([d6].[UserId] = @___currentUser_User_Id_Value_1 OR (([t5].[DonThuXuLyId] IS NOT NULL) AND [t5].[OrganizationId] = @___currentUser_OrganizationId_3) OR (([t6].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d10]
                  WHERE ([d10].[DeletedDate] IS NULL) AND ([t6].[Id] IS NOT NULL) AND [t6].[Id] = [d10].[DonThuXuLyId] AND [d10].[CanBoTiepNhanId] = @___currentUserExt_CanBoId_0 AND [d10].[TrangThai] <> 2))))))
          ORDER BY [d].[Id]
          OFFSET @__TypedProperty_9 ROWS FETCH NEXT @__TypedProperty_10 ROWS ONLY
      ) AS [t7]
      LEFT JOIN (
          SELECT [d11].[Id], [d11].[Name]
          FROM [DMPhanTheoNoiDung] AS [d11]
          WHERE [d11].[DeletedDate] IS NULL
      ) AS [t8] ON [t7].[DMPhanTheoNoiDungId] = [t8].[Id]
      LEFT JOIN (
          SELECT [d12].[DonThuId], [d12].[ThongTinCaNhanId], [d12].[CreatedBy], [d12].[CreatedDate], [d12].[DeletedBy], [d12].[DeletedDate], [d12].[Loai], [d12].[NoiOCode], [d12].[NoiOCuThe], [d12].[NoiOHuyenCode], [d12].[NoiOTinhCode], [d12].[UpdatedBy], [d12].[UpdatedDate]
          FROM [DonThuNguoiDungDon] AS [d12]
          WHERE [d12].[DeletedDate] IS NULL
      ) AS [t9] ON [t7].[Id] = [t9].[DonThuId]
      LEFT JOIN (
          SELECT [d13].[Id], [t11].[NgayChuyenDon], [t11].[Uuid], [t11].[TrangThai], [d13].[CID], [d13].[CreatedBy], [d13].[CreatedDate], [d13].[DMHinhThucXuLyDonId], [d13].[DMLoaiHinhTiepNhanId], [d13].[DMNhomThamQuyenGiaiQuyetId], [d13].[DMPhanTheoThamQuyenId], [d13].[DMTrangThaiXuLyDonId], [d13].[DeletedBy], [d13].[DeletedDate], [d13].[DonThuId], [d13].[FileId], [d13].[GhiChu], [d13].[IsYeuCauBaoCao], [d13].[NgayTiepNhan], [d13].[NgayVanBan], [d13].[NgayXuLy], [d13].[ParentUuid], [d13].[ThoiHanXuLy], [d13].[UpdatedBy], [d13].[UpdatedDate], [d13].[UserId], [d13].[VanBan], [d13].[YKienXuLy]
          FROM [DonThuXuLy] AS [d13]
          LEFT JOIN (
              SELECT [d14].[NgayChuyenDon], [d14].[Uuid], [d14].[TrangThai], [d14].[DonThuXuLyId]
              FROM [DonThuXuLyChuyenDon] AS [d14]
              WHERE [d14].[DeletedDate] IS NULL
          ) AS [t11] ON [d13].[Id] = [t11].[DonThuXuLyId]
          WHERE [d13].[DeletedDate] IS NULL
      ) AS [t10] ON [t7].[Id] = [t10].[DonThuId]
      ORDER BY [t7].[Id], [t7].[Uuid], [t7].[TiepDanId0], [t8].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t10].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t3].[Uuid]
          FROM [TiepDan] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[UserId]
          FROM [DonThuCanBoTiepNhan] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          LEFT JOIN (
              SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d1]
              WHERE [d1].[DeletedDate] IS NULL
          ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d3]
          LEFT JOIN (
              SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
              FROM [DonThuXuLyCanBo] AS [d4]
              WHERE [d4].[DeletedDate] IS NULL
          ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d5]
              WHERE [d5].[DeletedDate] IS NULL
          ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
          WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d8]
          LEFT JOIN (
              SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
              FROM [DonThuXuLyCanBo] AS [d9]
              WHERE [d9].[DeletedDate] IS NULL
          ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
              FROM [DMTrangThaiXuLyDon] AS [d10]
              WHERE [d10].[DeletedDate] IS NULL
          ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
          WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d11]
              WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
warn: Microsoft.EntityFrameworkCore.Query[20504]
      Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (170ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUser_User_Id_2='?' (DbType = Guid), @___currentUserExt_CanBoId_3='?' (DbType = Guid), @___currentUser_User_Id_Value_4='?' (DbType = Guid), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t9].[Id], [t9].[Uuid], [t9].[TiepDanId0], [t9].[DonThuId], [t10].[Id], [t11].[DonThuId], [t11].[CanBoId], [t12].[Code], [t12].[Name], [t12].[Id], [t12].[Code0], [t12].[Name0], [t12].[Id0], [t12].[c], [t12].[Id1], [t12].[CID], [t12].[CreatedBy], [t12].[CreatedDate], [t12].[DMHinhThucXuLyDonId], [t12].[DMLoaiHinhTiepNhanId], [t12].[DMNhomThamQuyenGiaiQuyetId], [t12].[DMPhanTheoThamQuyenId], [t12].[DMTrangThaiXuLyDonId], [t12].[DeletedBy], [t12].[DeletedDate], [t12].[DonThuId], [t12].[FileId], [t12].[GhiChu], [t12].[IsYeuCauBaoCao], [t12].[NgayTiepNhan], [t12].[NgayVanBan], [t12].[NgayXuLy], [t12].[ParentUuid], [t12].[ThoiHanXuLy], [t12].[UpdatedBy], [t12].[UpdatedDate], [t12].[UserId], [t12].[VanBan], [t12].[YKienXuLy], [t12].[c0], [t10].[Code], [t10].[Name], [t10].[Color], CASE
          WHEN [t10].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[Code], [t9].[ThoiGianTiepNhan], [t9].[NoiDungDon], [t9].[PhanTheoDieuKien], [t9].[PhanTheoSoNguoi], [t9].[DMPhanTheoNoiDungId]
      FROM (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[NoiDungDon], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[ThoiGianTiepNhan], [t2].[Uuid], [t4].[TiepDanId] AS [TiepDanId0], [t6].[DonThuId]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t3].[Uuid]
              FROM [TiepDan] AS [t3]
              WHERE [t3].[DeletedDate] IS NULL
          ) AS [t2] ON [d].[TiepDanId] = [t2].[Uuid]
          LEFT JOIN (
              SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t5]
              WHERE [t5].[DeletedDate] IS NULL
          ) AS [t4] ON [t2].[Uuid] = [t4].[TiepDanId]
          LEFT JOIN (
              SELECT [d7].[DonThuId], [d7].[UserId]
              FROM [DonThuCanBoTiepNhan] AS [d7]
              WHERE [d7].[DeletedDate] IS NULL
          ) AS [t6] ON [d].[Id] = [t6].[DonThuId]
          WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d0]
              LEFT JOIN (
                  SELECT [d1].[Id], [d1].[Code], [d1].[CreatedBy], [d1].[CreatedDate], [d1].[DeletedBy], [d1].[DeletedDate], [d1].[Name], [d1].[Rank], [d1].[UpdatedBy], [d1].[UpdatedDate]
                  FROM [DMTrangThaiXuLyDon] AS [d1]
                  WHERE [d1].[DeletedDate] IS NULL
              ) AS [t] ON [d0].[DMTrangThaiXuLyDonId] = [t].[Id]
              WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND NOT (EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyDonDoc] AS [d2]
                  WHERE ([d2].[DeletedDate] IS NULL) AND [d0].[Id] = [d2].[DonThuXuLyId])) AND ([t].[Code] <> N'4' OR ([t].[Code] IS NULL))) OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d3]
              LEFT JOIN (
                  SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d4]
                  WHERE [d4].[DeletedDate] IS NULL
              ) AS [t0] ON [d3].[Id] = [t0].[DonThuXuLyId]
              LEFT JOIN (
                  SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
                  FROM [DMTrangThaiXuLyDon] AS [d5]
                  WHERE [d5].[DeletedDate] IS NULL
              ) AS [t1] ON [d3].[DMTrangThaiXuLyDonId] = [t1].[Id]
              WHERE ([d3].[DeletedDate] IS NULL) AND [d].[Id] = [d3].[DonThuId] AND [t0].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND NOT (EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyDonDoc] AS [d6]
                  WHERE ([d6].[DeletedDate] IS NULL) AND [d3].[Id] = [d6].[DonThuXuLyId])) AND ([t1].[Code] <> N'4' OR ([t1].[Code] IS NULL)))) AND (([d].[TiepDanId] IS NULL) OR [t4].[DMXuLyTiepDanId] = 3) AND [d].[PhanTheoDieuKien] = 1 AND ([d].[DMPhanTheoNoiDungId] IS NOT NULL) AND ([d].[NoiDungDon] IS NOT NULL) AND [d].[NoiDungDon] <> N'' AND ([t6].[UserId] = @___currentUser_User_Id_2 OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d8]
              LEFT JOIN (
                  SELECT [d9].[DonThuXuLyId], [d9].[CanBoId], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DMChucVuId], [d9].[DMPhongBanId], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[IsLanhDao], [d9].[IsThuTruong], [d9].[OrganizationId], [d9].[ThongTinCaNhanId], [d9].[UpdatedBy], [d9].[UpdatedDate], [d9].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d9]
                  WHERE [d9].[DeletedDate] IS NULL
              ) AS [t7] ON [d8].[Id] = [t7].[DonThuXuLyId]
              LEFT JOIN (
                  SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Rank], [d10].[UpdatedBy], [d10].[UpdatedDate]
                  FROM [DMTrangThaiXuLyDon] AS [d10]
                  WHERE [d10].[DeletedDate] IS NULL
              ) AS [t8] ON [d8].[DMTrangThaiXuLyDonId] = [t8].[Id]
              WHERE ([d8].[DeletedDate] IS NULL) AND [d].[Id] = [d8].[DonThuId] AND ([t7].[CanBoId] = @___currentUserExt_CanBoId_3 OR [d8].[UserId] = @___currentUser_User_Id_Value_4) AND NOT (EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyDonDoc] AS [d11]
                  WHERE ([d11].[DeletedDate] IS NULL) AND [d8].[Id] = [d11].[DonThuXuLyId])) AND ([t8].[Code] <> N'4' OR ([t8].[Code] IS NULL))))
          ORDER BY [d].[ThoiGianTiepNhan] DESC, [d].[Id]
          OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
      ) AS [t9]
      LEFT JOIN (
          SELECT [d13].[Id], [d13].[Code], [d13].[Color], [d13].[Name]
          FROM [DMTrungDon] AS [d13]
          WHERE [d13].[DeletedDate] IS NULL
      ) AS [t10] ON [t9].[DMTrungDonId] = [t10].[Id]
      LEFT JOIN (
          SELECT [d14].[DonThuId], [d14].[CanBoId]
          FROM [DonThuTuTheoDoi] AS [d14]
          WHERE [d14].[DeletedDate] IS NULL
      ) AS [t11] ON [t9].[Id] = [t11].[DonThuId]
      LEFT JOIN (
          SELECT [t13].[Code], [t13].[Name], [t13].[Id], [t14].[Code] AS [Code0], [t14].[Name] AS [Name0], [t14].[Id] AS [Id0], CASE
              WHEN [t14].[Id] IS NULL THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [c], [d15].[Id] AS [Id1], [d15].[CID], [d15].[CreatedBy], [d15].[CreatedDate], [d15].[DMHinhThucXuLyDonId], [d15].[DMLoaiHinhTiepNhanId], [d15].[DMNhomThamQuyenGiaiQuyetId], [d15].[DMPhanTheoThamQuyenId], [d15].[DMTrangThaiXuLyDonId], [d15].[DeletedBy], [d15].[DeletedDate], [d15].[DonThuId], [d15].[FileId], [d15].[GhiChu], [d15].[IsYeuCauBaoCao], [d15].[NgayTiepNhan], [d15].[NgayVanBan], [d15].[NgayXuLy], [d15].[ParentUuid], [d15].[ThoiHanXuLy], [d15].[UpdatedBy], [d15].[UpdatedDate], [d15].[UserId], [d15].[VanBan], [d15].[YKienXuLy], CASE
              WHEN [t13].[Id] IS NULL THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [c0]
          FROM [DonThuXuLy] AS [d15]
          LEFT JOIN (
              SELECT [d16].[Id], [d16].[Code], [d16].[Name]
              FROM [DMHinhThucXuLyDon] AS [d16]
              WHERE [d16].[DeletedDate] IS NULL
          ) AS [t13] ON [d15].[DMHinhThucXuLyDonId] = [t13].[Id]
          LEFT JOIN (
              SELECT [d17].[Id], [d17].[Code], [d17].[Name]
              FROM [DMTrangThaiXuLyDon] AS [d17]
              WHERE [d17].[DeletedDate] IS NULL
          ) AS [t14] ON [d15].[DMTrangThaiXuLyDonId] = [t14].[Id]
          WHERE [d15].[DeletedDate] IS NULL
      ) AS [t12] ON [t9].[Id] = [t12].[DonThuId]
      ORDER BY [t9].[ThoiGianTiepNhan] DESC, [t9].[Id], [t9].[Uuid], [t9].[TiepDanId0], [t9].[DonThuId], [t10].[Id], [t11].[DonThuId], [t11].[CanBoId], [t12].[Id1], [t12].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t1].[Uuid]
          FROM [TiepDan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t3]
          WHERE [t3].[DeletedDate] IS NULL
      ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
              FROM [DonThuXuLyCanBo] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
          WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyDonDoc] AS [d7]
              WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
warn: Microsoft.EntityFrameworkCore.Query[20504]
      Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (139ms) [Parameters=[@___currentUserExt_User_Id_Value_0='?' (DbType = Guid), @___currentUserExt_OrganizationId_1='?' (DbType = Guid), @___currentUserExt_CanBoId_2='?' (DbType = Guid), @___currentUser_User_Id_Value_3='?' (DbType = Guid), @__TypedProperty_10='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t5].[Id], [t5].[Uuid], [t5].[TiepDanId0], [t6].[Id], [t7].[DonThuId], [t7].[CanBoId], [t8].[Code], [t8].[Name], [t8].[Id], [t8].[Code0], [t8].[Name0], [t8].[Id0], [t8].[c], [t8].[Id1], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy], [t8].[c0], [t6].[Code], [t6].[Name], [t6].[Color], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t5].[Code], [t5].[ThoiGianTiepNhan], [t5].[NoiDungDon], [t5].[PhanTheoDieuKien], [t5].[PhanTheoSoNguoi], [t5].[DMPhanTheoNoiDungId]
      FROM (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[DMTrungDonId], [d].[NoiDungDon], [d].[PhanTheoDieuKien], [d].[PhanTheoSoNguoi], [d].[ThoiGianTiepNhan], [t0].[Uuid], [t2].[TiepDanId] AS [TiepDanId0]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t1].[Uuid]
              FROM [TiepDan] AS [t1]
              WHERE [t1].[DeletedDate] IS NULL
          ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
          LEFT JOIN (
              SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t3]
              WHERE [t3].[DeletedDate] IS NULL
          ) AS [t2] ON [t0].[Uuid] = [t2].[TiepDanId]
          WHERE ([d].[DeletedDate] IS NULL) AND (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d0]
              WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND [d0].[UserId] = @___currentUserExt_User_Id_Value_0 AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyDonDoc] AS [d1]
                  WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId])) OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d2]
              LEFT JOIN (
                  SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d3]
                  WHERE [d3].[DeletedDate] IS NULL
              ) AS [t] ON [d2].[Id] = [t].[DonThuXuLyId]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t].[OrganizationId] = @___currentUserExt_OrganizationId_1 AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyDonDoc] AS [d4]
                  WHERE ([d4].[DeletedDate] IS NULL) AND [d2].[Id] = [d4].[DonThuXuLyId]))) AND (([d].[TiepDanId] IS NULL) OR [t2].[DMXuLyTiepDanId] = 3) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d5]
              LEFT JOIN (
                  SELECT [d6].[DonThuXuLyId], [d6].[CanBoId], [d6].[CreatedBy], [d6].[CreatedDate], [d6].[DMChucVuId], [d6].[DMPhongBanId], [d6].[DeletedBy], [d6].[DeletedDate], [d6].[IsLanhDao], [d6].[IsThuTruong], [d6].[OrganizationId], [d6].[ThongTinCaNhanId], [d6].[UpdatedBy], [d6].[UpdatedDate], [d6].[UserId]
                  FROM [DonThuXuLyCanBo] AS [d6]
                  WHERE [d6].[DeletedDate] IS NULL
              ) AS [t4] ON [d5].[Id] = [t4].[DonThuXuLyId]
              WHERE ([d5].[DeletedDate] IS NULL) AND [d].[Id] = [d5].[DonThuId] AND ([t4].[CanBoId] = @___currentUserExt_CanBoId_2 OR [d5].[UserId] = @___currentUser_User_Id_Value_3) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyDonDoc] AS [d7]
                  WHERE ([d7].[DeletedDate] IS NULL) AND [d5].[Id] = [d7].[DonThuXuLyId]))
          ORDER BY [d].[ThoiGianTiepNhan] DESC, [d].[Id]
          OFFSET @__TypedProperty_10 ROWS FETCH NEXT @__TypedProperty_11 ROWS ONLY
      ) AS [t5]
      LEFT JOIN (
          SELECT [d9].[Id], [d9].[Code], [d9].[Color], [d9].[Name]
          FROM [DMTrungDon] AS [d9]
          WHERE [d9].[DeletedDate] IS NULL
      ) AS [t6] ON [t5].[DMTrungDonId] = [t6].[Id]
      LEFT JOIN (
          SELECT [d10].[DonThuId], [d10].[CanBoId]
          FROM [DonThuTuTheoDoi] AS [d10]
          WHERE [d10].[DeletedDate] IS NULL
      ) AS [t7] ON [t5].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t9].[Code], [t9].[Name], [t9].[Id], [t10].[Code] AS [Code0], [t10].[Name] AS [Name0], [t10].[Id] AS [Id0], CASE
              WHEN [t10].[Id] IS NULL THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [c], [d11].[Id] AS [Id1], [d11].[CID], [d11].[CreatedBy], [d11].[CreatedDate], [d11].[DMHinhThucXuLyDonId], [d11].[DMLoaiHinhTiepNhanId], [d11].[DMNhomThamQuyenGiaiQuyetId], [d11].[DMPhanTheoThamQuyenId], [d11].[DMTrangThaiXuLyDonId], [d11].[DeletedBy], [d11].[DeletedDate], [d11].[DonThuId], [d11].[FileId], [d11].[GhiChu], [d11].[IsYeuCauBaoCao], [d11].[NgayTiepNhan], [d11].[NgayVanBan], [d11].[NgayXuLy], [d11].[ParentUuid], [d11].[ThoiHanXuLy], [d11].[UpdatedBy], [d11].[UpdatedDate], [d11].[UserId], [d11].[VanBan], [d11].[YKienXuLy], CASE
              WHEN [t9].[Id] IS NULL THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [c0]
          FROM [DonThuXuLy] AS [d11]
          LEFT JOIN (
              SELECT [d12].[Id], [d12].[Code], [d12].[Name]
              FROM [DMHinhThucXuLyDon] AS [d12]
              WHERE [d12].[DeletedDate] IS NULL
          ) AS [t9] ON [d11].[DMHinhThucXuLyDonId] = [t9].[Id]
          LEFT JOIN (
              SELECT [d13].[Id], [d13].[Code], [d13].[Name]
              FROM [DMTrangThaiXuLyDon] AS [d13]
              WHERE [d13].[DeletedDate] IS NULL
          ) AS [t10] ON [d11].[DMTrangThaiXuLyDonId] = [t10].[Id]
          WHERE [d11].[DeletedDate] IS NULL
      ) AS [t8] ON [t5].[Id] = [t8].[DonThuId]
      ORDER BY [t5].[ThoiGianTiepNhan] DESC, [t5].[Id], [t5].[Uuid], [t5].[TiepDanId0], [t6].[Id], [t7].[DonThuId], [t7].[CanBoId], [t8].[Id1], [t8].[Id]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThu] AS [d]

      LEFT JOIN (
          SELECT [t].[Uuid]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
          FROM [TiepDanXuLy] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d0]
          WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d1]
              WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
warn: Microsoft.EntityFrameworkCore.Query[20504]
      Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (69ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_6='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t3].[Id], [t3].[Uuid], [t3].[TiepDanId0], [t4].[Id], [t5].[DonThuId], [t5].[ThongTinCaNhanId], [t5].[CreatedBy], [t5].[CreatedDate], [t5].[DeletedBy], [t5].[DeletedDate], [t5].[Loai], [t5].[NoiOCode], [t5].[NoiOCuThe], [t5].[NoiOHuyenCode], [t5].[NoiOTinhCode], [t5].[UpdatedBy], [t5].[UpdatedDate], [t4].[Name], CASE
          WHEN [t4].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t6].[Id], [t6].[NgayChuyenDon], [t6].[Uuid], [t6].[TrangThai], [t6].[LyDoTuChoi], [t6].[CID], [t6].[CreatedBy], [t6].[CreatedDate], [t6].[DMHinhThucXuLyDonId], [t6].[DMLoaiHinhTiepNhanId], [t6].[DMNhomThamQuyenGiaiQuyetId], [t6].[DMPhanTheoThamQuyenId], [t6].[DMTrangThaiXuLyDonId], [t6].[DeletedBy], [t6].[DeletedDate], [t6].[DonThuId], [t6].[FileId], [t6].[GhiChu], [t6].[IsYeuCauBaoCao], [t6].[NgayTiepNhan], [t6].[NgayVanBan], [t6].[NgayXuLy], [t6].[ParentUuid], [t6].[ThoiHanXuLy], [t6].[UpdatedBy], [t6].[UpdatedDate], [t6].[UserId], [t6].[VanBan], [t6].[YKienXuLy], [t3].[Code], [t3].[NoiDungDon], [t3].[ThoiGianTiepNhan]
      FROM (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[ThoiGianTiepNhan], [t0].[Uuid], [t1].[TiepDanId] AS [TiepDanId0]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t].[Uuid]
              FROM [TiepDan] AS [t]
              WHERE [t].[DeletedDate] IS NULL
          ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
          LEFT JOIN (
              SELECT [t2].[TiepDanId], [t2].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t2]
              WHERE [t2].[DeletedDate] IS NULL
          ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
          WHERE ([d].[DeletedDate] IS NULL) AND (([d].[TiepDanId] IS NULL) OR [t1].[DMXuLyTiepDanId] = 3) AND (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d0]
              WHERE ([d0].[DeletedDate] IS NULL) AND [d].[Id] = [d0].[DonThuId] AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLyChuyenDon] AS [d1]
                  WHERE ([d1].[DeletedDate] IS NULL) AND [d0].[Id] = [d1].[DonThuXuLyId] AND [d1].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_0 AND [d1].[TrangThai] = 2)) OR EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d2]
              WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [d2].[DMHinhThucXuLyDonId] = 7))
          ORDER BY [d].[Id]
          OFFSET @__TypedProperty_6 ROWS FETCH NEXT @__TypedProperty_7 ROWS ONLY
      ) AS [t3]
      LEFT JOIN (
          SELECT [d3].[Id], [d3].[Name]
          FROM [DMPhanTheoNoiDung] AS [d3]
          WHERE [d3].[DeletedDate] IS NULL
      ) AS [t4] ON [t3].[DMPhanTheoNoiDungId] = [t4].[Id]
      LEFT JOIN (
          SELECT [d4].[DonThuId], [d4].[ThongTinCaNhanId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[Loai], [d4].[NoiOCode], [d4].[NoiOCuThe], [d4].[NoiOHuyenCode], [d4].[NoiOTinhCode], [d4].[UpdatedBy], [d4].[UpdatedDate]
          FROM [DonThuNguoiDungDon] AS [d4]
          WHERE [d4].[DeletedDate] IS NULL
      ) AS [t5] ON [t3].[Id] = [t5].[DonThuId]
      LEFT JOIN (
          SELECT [d5].[Id], [t7].[NgayChuyenDon], [t7].[Uuid], [t7].[TrangThai], [t7].[LyDoTuChoi], [d5].[CID], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DMHinhThucXuLyDonId], [d5].[DMLoaiHinhTiepNhanId], [d5].[DMNhomThamQuyenGiaiQuyetId], [d5].[DMPhanTheoThamQuyenId], [d5].[DMTrangThaiXuLyDonId], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[DonThuId], [d5].[FileId], [d5].[GhiChu], [d5].[IsYeuCauBaoCao], [d5].[NgayTiepNhan], [d5].[NgayVanBan], [d5].[NgayXuLy], [d5].[ParentUuid], [d5].[ThoiHanXuLy], [d5].[UpdatedBy], [d5].[UpdatedDate], [d5].[UserId], [d5].[VanBan], [d5].[YKienXuLy]
          FROM [DonThuXuLy] AS [d5]
          LEFT JOIN (
              SELECT [d6].[NgayChuyenDon], [d6].[Uuid], [d6].[TrangThai], [d6].[LyDoTuChoi], [d6].[DonThuXuLyId]
              FROM [DonThuXuLyChuyenDon] AS [d6]
              WHERE [d6].[DeletedDate] IS NULL
          ) AS [t7] ON [d5].[Id] = [t7].[DonThuXuLyId]
          WHERE [d5].[DeletedDate] IS NULL
      ) AS [t6] ON [t3].[Id] = [t6].[DonThuId]
      ORDER BY [t3].[Id], [t3].[Uuid], [t3].[TiepDanId0], [t4].[Id], [t5].[DonThuId], [t5].[ThongTinCaNhanId], [t6].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (84ms) [Parameters=[@___currentUser_User_Id_Value_0='?' (DbType = Guid), @___currentUser_OrganizationId_1='?' (DbType = Guid), @___currentUser_OrganizationId_2='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThuTuTheoDoi] AS [d]
      INNER JOIN (
          SELECT [d0].[Id]
          FROM [DonThu] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[DonThuId] = [t].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          LEFT JOIN (
              SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
              FROM [DonThuXuLyCanBo] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t0] ON [d1].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d3].[Id], [d3].[CID], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMHinhThucXuLyDonId], [d3].[DMLoaiHinhTiepNhanId], [d3].[DMNhomThamQuyenGiaiQuyetId], [d3].[DMPhanTheoThamQuyenId], [d3].[DMTrangThaiXuLyDonId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[DonThuId], [d3].[FileId], [d3].[GhiChu], [d3].[IsYeuCauBaoCao], [d3].[NgayTiepNhan], [d3].[NgayVanBan], [d3].[NgayXuLy], [d3].[ParentUuid], [d3].[ThoiHanXuLy], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId], [d3].[VanBan], [d3].[YKienXuLy]
              FROM [DonThuXuLy] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t1] ON [d1].[ParentUuid] = [t1].[Id]
          WHERE ([d1].[DeletedDate] IS NULL) AND [t].[Id] = [d1].[DonThuId] AND ([d1].[UserId] = @___currentUser_User_Id_Value_0 OR (([t0].[DonThuXuLyId] IS NOT NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_1) OR (([t1].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND ([t1].[Id] IS NOT NULL) AND [t1].[Id] = [d4].[DonThuXuLyId] AND [d4].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_2 AND [d4].[TrangThai] <> 2))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (71ms) [Parameters=[@___currentUser_User_Id_Value_0='?' (DbType = Guid), @___currentUser_OrganizationId_1='?' (DbType = Guid), @___currentUser_OrganizationId_2='?' (DbType = Guid), @__TypedProperty_5='?' (DbType = Int32), @__TypedProperty_6='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[ThoiGianTiepNhan], [t].[NoiDungDon], [t].[PhanTheoDieuKien], [t].[PhanTheoSoNguoi], [t].[DMPhanTheoNoiDungId], [t].[Id], [d].[DonThuId], [d].[CanBoId], CAST(0 AS bit)
      FROM [DonThuTuTheoDoi] AS [d]
      INNER JOIN (
          SELECT [d0].[Id], [d0].[DMPhanTheoNoiDungId], [d0].[NoiDungDon], [d0].[PhanTheoDieuKien], [d0].[PhanTheoSoNguoi], [d0].[ThoiGianTiepNhan]
          FROM [DonThu] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[DonThuId] = [t].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          LEFT JOIN (
              SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
              FROM [DonThuXuLyCanBo] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t0] ON [d1].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d3].[Id], [d3].[CID], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMHinhThucXuLyDonId], [d3].[DMLoaiHinhTiepNhanId], [d3].[DMNhomThamQuyenGiaiQuyetId], [d3].[DMPhanTheoThamQuyenId], [d3].[DMTrangThaiXuLyDonId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[DonThuId], [d3].[FileId], [d3].[GhiChu], [d3].[IsYeuCauBaoCao], [d3].[NgayTiepNhan], [d3].[NgayVanBan], [d3].[NgayXuLy], [d3].[ParentUuid], [d3].[ThoiHanXuLy], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId], [d3].[VanBan], [d3].[YKienXuLy]
              FROM [DonThuXuLy] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t1] ON [d1].[ParentUuid] = [t1].[Id]
          WHERE ([d1].[DeletedDate] IS NULL) AND [t].[Id] = [d1].[DonThuId] AND ([d1].[UserId] = @___currentUser_User_Id_Value_0 OR (([t0].[DonThuXuLyId] IS NOT NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_1) OR (([t1].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND ([t1].[Id] IS NOT NULL) AND [t1].[Id] = [d4].[DonThuXuLyId] AND [d4].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_2 AND [d4].[TrangThai] <> 2))))
      ORDER BY [t].[ThoiGianTiepNhan] DESC, [d].[CanBoId], [d].[DonThuId]
      OFFSET @__TypedProperty_5 ROWS FETCH NEXT @__TypedProperty_6 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_User_Id_Value_0='?' (DbType = Guid), @___currentUser_OrganizationId_1='?' (DbType = Guid), @___currentUser_OrganizationId_2='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DonThuTuTheoDoi] AS [d]
      INNER JOIN (
          SELECT [d0].[Id]
          FROM [DonThu] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[DonThuId] = [t].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          LEFT JOIN (
              SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
              FROM [DonThuXuLyCanBo] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t0] ON [d1].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d3].[Id], [d3].[CID], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMHinhThucXuLyDonId], [d3].[DMLoaiHinhTiepNhanId], [d3].[DMNhomThamQuyenGiaiQuyetId], [d3].[DMPhanTheoThamQuyenId], [d3].[DMTrangThaiXuLyDonId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[DonThuId], [d3].[FileId], [d3].[GhiChu], [d3].[IsYeuCauBaoCao], [d3].[NgayTiepNhan], [d3].[NgayVanBan], [d3].[NgayXuLy], [d3].[ParentUuid], [d3].[ThoiHanXuLy], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId], [d3].[VanBan], [d3].[YKienXuLy]
              FROM [DonThuXuLy] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t1] ON [d1].[ParentUuid] = [t1].[Id]
          WHERE ([d1].[DeletedDate] IS NULL) AND [t].[Id] = [d1].[DonThuId] AND ([d1].[UserId] = @___currentUser_User_Id_Value_0 OR (([t0].[DonThuXuLyId] IS NOT NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_1) OR (([t1].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND ([t1].[Id] IS NOT NULL) AND [t1].[Id] = [d4].[DonThuXuLyId] AND [d4].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_2 AND [d4].[TrangThai] <> 2))))
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_User_Id_Value_0='?' (DbType = Guid), @___currentUser_OrganizationId_1='?' (DbType = Guid), @___currentUser_OrganizationId_2='?' (DbType = Guid), @__TypedProperty_5='?' (DbType = Int32), @__TypedProperty_6='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[ThoiGianTiepNhan], [t].[NoiDungDon], [t].[PhanTheoDieuKien], [t].[PhanTheoSoNguoi], [t].[DMPhanTheoNoiDungId], [t].[Id], [d].[DonThuId], [d].[CanBoId], CAST(0 AS bit)
      FROM [DonThuTuTheoDoi] AS [d]
      INNER JOIN (
          SELECT [d0].[Id], [d0].[DMPhanTheoNoiDungId], [d0].[NoiDungDon], [d0].[PhanTheoDieuKien], [d0].[PhanTheoSoNguoi], [d0].[ThoiGianTiepNhan]
          FROM [DonThu] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[DonThuId] = [t].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          LEFT JOIN (
              SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
              FROM [DonThuXuLyCanBo] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t0] ON [d1].[Id] = [t0].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d3].[Id], [d3].[CID], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMHinhThucXuLyDonId], [d3].[DMLoaiHinhTiepNhanId], [d3].[DMNhomThamQuyenGiaiQuyetId], [d3].[DMPhanTheoThamQuyenId], [d3].[DMTrangThaiXuLyDonId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[DonThuId], [d3].[FileId], [d3].[GhiChu], [d3].[IsYeuCauBaoCao], [d3].[NgayTiepNhan], [d3].[NgayVanBan], [d3].[NgayXuLy], [d3].[ParentUuid], [d3].[ThoiHanXuLy], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId], [d3].[VanBan], [d3].[YKienXuLy]
              FROM [DonThuXuLy] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t1] ON [d1].[ParentUuid] = [t1].[Id]
          WHERE ([d1].[DeletedDate] IS NULL) AND [t].[Id] = [d1].[DonThuId] AND ([d1].[UserId] = @___currentUser_User_Id_Value_0 OR (([t0].[DonThuXuLyId] IS NOT NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_1) OR (([t1].[Id] IS NOT NULL) AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d4]
              WHERE ([d4].[DeletedDate] IS NULL) AND ([t1].[Id] IS NOT NULL) AND [t1].[Id] = [d4].[DonThuXuLyId] AND [d4].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_2 AND [d4].[TrangThai] <> 2))))
      ORDER BY [t].[ThoiGianTiepNhan] DESC, [d].[CanBoId], [d].[DonThuId]
      OFFSET @__TypedProperty_5 ROWS FETCH NEXT @__TypedProperty_6 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__model_Month_0='?' (DbType = Int32), @__model_Year_1='?' (DbType = Int32), @___currentUser_User_Id_Value_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan], [t].[UserId]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[OrganizationId]
          FROM [TiepDanCanBoTiepNhan] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      LEFT JOIN (
          SELECT [t4].[TiepDanId], [t4].[UserId]
          FROM [TiepDanXuLy] AS [t4]
          WHERE [t4].[DeletedDate] IS NULL
      ) AS [t3] ON [t0].[Uuid] = [t3].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[TiepDanId] IS NOT NULL) AND [t0].[IsTuChoi] = CAST(0 AS bit) AND DATEPART(month, [t0].[NgayTiepDan]) = @__model_Month_0 AND DATEPART(year, [t0].[NgayTiepDan]) = @__model_Year_1 AND ([t0].[UserId] = @___currentUser_User_Id_Value_2 OR [t1].[OrganizationId] = @___currentUser_OrganizationId_3 OR [t3].[UserId] = @___currentUser_User_Id_Value_2)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT (COALESCE([t0].[HoVaTenDem], N'') + N' ') + COALESCE([t0].[Ten], N'') AS [HoVaTen], [t2].[Name] AS [ChucVu], COUNT(*) AS [SoDon]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[DMChucVuId], [d0].[OrganizationId], [d0].[ThongTinCaNhanId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [t1].[Uuid], [t1].[HoVaTenDem], [t1].[Ten]
          FROM [ThongTinCaNhan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [t].[ThongTinCaNhanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMChucVu] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t2] ON [t].[DMChucVuId] = [t2].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND [t].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_1 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_2
      GROUP BY [t0].[HoVaTenDem], [t0].[Ten], [t2].[Name]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__currentUser_OrganizationId_1='?' (DbType = Guid), @__currentUser_OrganizationId_2='?' (DbType = Guid), @__model_Month_3='?' (DbType = Int32), @__model_Year_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[CreatedBy], [d].[CreatedDate], [d].[DMHinhThucXuLyDonId], [d].[DMLoaiHinhTiepNhanId], [d].[DMNhomThamQuyenGiaiQuyetId], [d].[DMPhanTheoThamQuyenId], [d].[DMTrangThaiXuLyDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuId], [d].[FileId], [d].[GhiChu], [d].[IsYeuCauBaoCao], [d].[NgayTiepNhan], [d].[NgayVanBan], [d].[NgayXuLy], [d].[ParentUuid], [d].[ThoiHanXuLy], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId], [d].[VanBan], [d].[YKienXuLy]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[OrganizationId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [d1].[Id]
          FROM [DonThuXuLy] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[ParentUuid] = [t0].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[UserId] = @__currentUser_User_Id_Value_0 OR [t].[OrganizationId] = @__currentUser_OrganizationId_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLyChuyenDon] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND ([t0].[Id] IS NOT NULL) AND [t0].[Id] = [d2].[DonThuXuLyId] AND [d2].[CoQuanTiepNhanId] = @__currentUser_OrganizationId_2 AND [d2].[TrangThai] <> 2)) AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_3 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_4
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t6].[Code] AS [XuLyCode], [t6].[Name] AS [XuLyName], [t6].[IsXuLy], COUNT(*) AS [TongSo]
      FROM (
          SELECT [t4].[Code], [t4].[Name], CASE
              WHEN [t4].[Code] <> N'3' OR ([t4].[Code] IS NULL) OR (([t5].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d1]
                  LEFT JOIN (
                      SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d2]
                      WHERE [d2].[DeletedDate] IS NULL
                  ) AS [t7] ON [d1].[Id] = [t7].[DonThuXuLyId]
                  WHERE ([d1].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d1].[DonThuId] AND [t7].[OrganizationId] = @___currentUser_OrganizationId_0) AND ((
                  SELECT TOP(1) [t9].[Id]
                  FROM [DonThuXuLy] AS [d3]
                  LEFT JOIN (
                      SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d4]
                      WHERE [d4].[DeletedDate] IS NULL
                  ) AS [t8] ON [d3].[Id] = [t8].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d5]
                      WHERE [d5].[DeletedDate] IS NULL
                  ) AS [t9] ON [d3].[DMTrangThaiXuLyDonId] = [t9].[Id]
                  WHERE ([d3].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d3].[DonThuId] AND [t8].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL) AND (
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) = N'2' AND ((
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL)) THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [IsXuLy]
          FROM [TiepDan] AS [t]
          LEFT JOIN (
              SELECT [t1].[TiepDanId], [t1].[OrganizationId]
              FROM [TiepDanCanBoTiepNhan] AS [t1]
              WHERE [t1].[DeletedDate] IS NULL
          ) AS [t0] ON [t].[Uuid] = [t0].[TiepDanId]
          LEFT JOIN (
              SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t3]
              WHERE [t3].[DeletedDate] IS NULL
          ) AS [t2] ON [t].[Uuid] = [t2].[TiepDanId]
          LEFT JOIN (
              SELECT [d].[Id], [d].[Code], [d].[Name]
              FROM [DMXuLyTiepDan] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t4] ON [t2].[DMXuLyTiepDanId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d0].[Id], [d0].[TiepDanId]
              FROM [DonThu] AS [d0]
              WHERE [d0].[DeletedDate] IS NULL
          ) AS [t5] ON [t].[Uuid] = [t5].[TiepDanId]
          WHERE ([t].[DeletedDate] IS NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [t].[NgayTiepDan]) = @__model_Month_1 AND DATEPART(year, [t].[NgayTiepDan]) = @__model_Year_2
      ) AS [t6]
      GROUP BY [t6].[Code], [t6].[Name], [t6].[IsXuLy]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:50:58.0512539Z", LastUpdateTimestamp: "2025-02-10T03:50:58.0512673Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:50:58.3789174Z", LastUpdateTimestamp: "2025-02-10T03:50:58.3789261Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:50:59.5200713Z", LastUpdateTimestamp: "2025-02-10T03:50:59.5200797Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:51:03.0372588Z", LastUpdateTimestamp: "2025-02-10T03:51:03.0372742Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:51:03.3701264Z", LastUpdateTimestamp: "2025-02-10T03:51:03.3701384Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:50:59.5200713Z", LastUpdateTimestamp: "2025-02-10T03:50:59.5200797Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:51:28.0493005Z", LastUpdateTimestamp: "2025-02-10T03:51:28.0493179Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:51:28.3835018Z", LastUpdateTimestamp: "2025-02-10T03:51:28.3835507Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:51:29.5234468Z", LastUpdateTimestamp: "2025-02-10T03:51:29.5234597Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:51:33.0394968Z", LastUpdateTimestamp: "2025-02-10T03:51:33.0395091Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:51:33.3731544Z", LastUpdateTimestamp: "2025-02-10T03:51:33.3731644Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:51:29.5234468Z", LastUpdateTimestamp: "2025-02-10T03:51:29.5234597Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:51:58.0527513Z", LastUpdateTimestamp: "2025-02-10T03:51:58.0527692Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:51:58.3837481Z", LastUpdateTimestamp: "2025-02-10T03:51:58.3837604Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:51:59.5267330Z", LastUpdateTimestamp: "2025-02-10T03:51:59.5267481Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:52:03.0391523Z", LastUpdateTimestamp: "2025-02-10T03:52:03.0391699Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:52:03.3646770Z", LastUpdateTimestamp: "2025-02-10T03:52:03.3646835Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:51:59.5267330Z", LastUpdateTimestamp: "2025-02-10T03:51:59.5267481Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:52:28.0487584Z", LastUpdateTimestamp: "2025-02-10T03:52:28.0487712Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:52:28.3785014Z", LastUpdateTimestamp: "2025-02-10T03:52:28.3785134Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:52:29.5357806Z", LastUpdateTimestamp: "2025-02-10T03:52:29.5357892Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:52:33.0450254Z", LastUpdateTimestamp: "2025-02-10T03:52:33.0450377Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:52:33.3720467Z", LastUpdateTimestamp: "2025-02-10T03:52:33.3720735Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:52:29.5357806Z", LastUpdateTimestamp: "2025-02-10T03:52:29.5357892Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:52:58.0482516Z", LastUpdateTimestamp: "2025-02-10T03:52:58.0482639Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:52:58.3801099Z", LastUpdateTimestamp: "2025-02-10T03:52:58.3801239Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:52:59.5432870Z", LastUpdateTimestamp: "2025-02-10T03:52:59.5432999Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:53:03.0404855Z", LastUpdateTimestamp: "2025-02-10T03:53:03.0404936Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:53:03.3682364Z", LastUpdateTimestamp: "2025-02-10T03:53:03.3682436Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:52:59.5432870Z", LastUpdateTimestamp: "2025-02-10T03:52:59.5432999Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:53:28.0470210Z", LastUpdateTimestamp: "2025-02-10T03:53:28.0470361Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:53:28.3748581Z", LastUpdateTimestamp: "2025-02-10T03:53:28.3748676Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:53:29.5481921Z", LastUpdateTimestamp: "2025-02-10T03:53:29.5481999Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:53:33.0398254Z", LastUpdateTimestamp: "2025-02-10T03:53:33.0398332Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:53:33.3708026Z", LastUpdateTimestamp: "2025-02-10T03:53:33.3708146Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:53:29.5481921Z", LastUpdateTimestamp: "2025-02-10T03:53:29.5481999Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:53:58.0488079Z", LastUpdateTimestamp: "2025-02-10T03:53:58.0488196Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:53:58.3792243Z", LastUpdateTimestamp: "2025-02-10T03:53:58.3792363Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:53:59.5513546Z", LastUpdateTimestamp: "2025-02-10T03:53:59.5513758Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:54:03.0411641Z", LastUpdateTimestamp: "2025-02-10T03:54:03.0411734Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:54:03.3671094Z", LastUpdateTimestamp: "2025-02-10T03:54:03.3671261Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:53:59.5513546Z", LastUpdateTimestamp: "2025-02-10T03:53:59.5513758Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (11ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_5='?' (DbType = Int32), @___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean), @__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_5) [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DMChucVuId], [t0].[DMPhongBanId], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[OrganizationId], [t0].[ThongTinCaNhanId], [t0].[TrangThai], [t0].[UpdatedBy], [t0].[UpdatedDate], [t0].[UserId]
      FROM (
          SELECT [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
          FROM [CanBo] AS [c]
          INNER JOIN (
              SELECT [d].[Id], [d].[IsLanhDao]
              FROM [DMChucVu] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
          WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
          ORDER BY [c].[Uuid]
          OFFSET @__TypedProperty_3 ROWS FETCH NEXT @__TypedProperty_4 ROWS ONLY
      ) AS [t0]
      ORDER BY [t0].[Uuid]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [CanBo] AS [c]
      INNER JOIN (
          SELECT [d].[Id], [d].[IsLanhDao]
          FROM [DMChucVu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
      WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_5='?' (DbType = Int32), @___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean), @__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_5) [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DMChucVuId], [t0].[DMPhongBanId], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[OrganizationId], [t0].[ThongTinCaNhanId], [t0].[TrangThai], [t0].[UpdatedBy], [t0].[UpdatedDate], [t0].[UserId]
      FROM (
          SELECT [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
          FROM [CanBo] AS [c]
          INNER JOIN (
              SELECT [d].[Id], [d].[IsLanhDao]
              FROM [DMChucVu] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
          WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
          ORDER BY [c].[Uuid]
          OFFSET @__TypedProperty_3 ROWS FETCH NEXT @__TypedProperty_4 ROWS ONLY
      ) AS [t0]
      ORDER BY [t0].[Uuid]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [CanBo] AS [c]
      INNER JOIN (
          SELECT [d].[Id], [d].[IsLanhDao]
          FROM [DMChucVu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
      WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t0].[Uuid], [t0].[SoDinhDanh], [t0].[HoVaTenDem], [t0].[Ten], [t0].[GioiTinh], [t0].[DienThoai], [t0].[Email]
      FROM (
          SELECT [t].[Uuid], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[SoDinhDanh], [t].[Ten]
          FROM [ThongTinCaNhan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
          ORDER BY [t].[Uuid]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t0]
      ORDER BY [t0].[Uuid]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [ThongTinCaNhan] AS [t]
      WHERE [t].[DeletedDate] IS NULL
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:54:28.0544857Z", LastUpdateTimestamp: "2025-02-10T03:54:28.0545086Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:54:28.3867959Z", LastUpdateTimestamp: "2025-02-10T03:54:28.3868119Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:54:29.5536461Z", LastUpdateTimestamp: "2025-02-10T03:54:29.5536811Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:54:33.0401182Z", LastUpdateTimestamp: "2025-02-10T03:54:33.0401436Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:54:33.3706208Z", LastUpdateTimestamp: "2025-02-10T03:54:33.3706294Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:54:29.5536461Z", LastUpdateTimestamp: "2025-02-10T03:54:29.5536811Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:54:33.0401182Z", LastUpdateTimestamp: "2025-02-10T03:54:33.0401436Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:54:33.3706208Z", LastUpdateTimestamp: "2025-02-10T03:54:33.3706294Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:54:29.5536461Z", LastUpdateTimestamp: "2025-02-10T03:54:29.5536811Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"donThuNguoiDungDons":[{"thongTinCaNhanId":"1eaf1cb5-6f0e-4e5e-aaca-011ecec1e306","loai":"DUNGDON"}],"fileId":"0928b142-8fb6-45f5-a9c7-b9031eda77cd","tiepDan":{"soTiepNhan":"1231234","ngayTiepDan":"2025-02-10T10:54:20+07:00","ngayHenTra":"2025-02-20T10:54:20+07:00","dmHinhThucTiepDanId":1,"tiepDanXuLy":{"ngayXuLy":"2025-02-10T10:54:20+07:00","dmXuLyTiepDanId":3,"yKienXuLy":"hhhhhhhhh"},"fileId":"10c75527-08ca-4ce3-bf56-bf488ee4a052","tiepDanCanBoDuocUyQuyen":{"canBoId":"bf21da3c-eb3e-4f8c-aeee-1253f74a5ff0"}},"phanTheoSoNguoi":"Mot","dmNhiemKyId":11,"dmPhanTheoNoiDungId":2,"dmLinhVucId":74,"phanTheoDieuKien":"KhongDuDieuKien","noiDungDon":"kkkkaaaa","dmLoaiDoiTuongId":3,"thoiGianTiepNhan":"2025-02-10T10:54:20+07:00","donThuXuLys":[{"ngayTiepNhan":"2025-02-10T10:54:20+07:00","fileId":"2a7e3f11-d86e-49f3-8431-7a9bbefad045","dmLoaiHinhTiepNhanId":2}],"noiGhiNhanTinhCode":"52","noiGhiNhanHuyenCode":"540","noiGhiNhanCode":"21571"}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [o].[Uuid], [o].[CId], [o].[Code], [o].[CreatedBy], [o].[CreatedDate], [o].[DMCapHanhChinhId], [o].[DMHuyenCode], [o].[DMTinhCode], [o].[DMXaCode], [o].[DeletedBy], [o].[DeletedDate], [o].[Email], [o].[Fax], [o].[OrganAdd], [o].[OrganId], [o].[OrganName], [o].[OrganizationInChargeId], [o].[State], [o].[Telephone], [o].[UpdatedBy], [o].[UpdatedDate], [o].[Website]
      FROM [Organization] AS [o]
      WHERE ([o].[DeletedDate] IS NULL) AND [o].[Uuid] = @__OrganizationId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @___currentUserExt_User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @___currentUserExt_User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (117ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 50), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (DbType = Guid), @p8='?' (Size = 4000), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Guid), @p15='?' (DbType = Guid), @p16='?' (Size = 50), @p17='?' (Size = 50), @p18='?' (DbType = DateTime2), @p19='?' (DbType = Int32), @p20='?' (DbType = Int32), @p21='?' (DbType = Int32), @p22='?' (DbType = Int32), @p23='?' (DbType = Int32), @p24='?' (Size = 50), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (DbType = Guid), @p28='?' (Size = 4000), @p29='?' (DbType = Int32), @p30='?' (Size = 500), @p31='?' (Size = 4000), @p32='?' (Size = 10), @p33='?' (Size = 4000), @p34='?' (Size = 5), @p35='?' (Size = 5), @p36='?' (DbType = Guid), @p37='?' (DbType = Int32), @p38='?' (DbType = Int32), @p39='?' (Size = 4000), @p40='?' (Size = 4000), @p41='?' (Size = 4000), @p42='?' (DbType = DateTime2), @p43='?' (DbType = Guid), @p44='?' (Size = 50), @p45='?' (DbType = DateTime2), @p46='?' (DbType = Guid), @p47='?' (DbType = Guid), @p48='?' (DbType = Guid), @p49='?' (Size = 50), @p50='?' (DbType = DateTime2), @p51='?' (DbType = Int32), @p52='?' (DbType = Int32), @p53='?' (Size = 50), @p54='?' (DbType = DateTime2), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (DbType = Guid), @p58='?' (DbType = Guid), @p59='?' (Size = 50), @p60='?' (DbType = DateTime2), @p61='?' (DbType = Guid), @p62='?' (DbType = Guid), @p63='?' (Size = 50), @p64='?' (DbType = DateTime2), @p65='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (Size = 50), @p68='?' (DbType = DateTime2), @p69='?' (DbType = Boolean), @p70='?' (DbType = Boolean), @p71='?' (DbType = Guid), @p72='?' (DbType = Guid), @p73='?' (Size = 50), @p74='?' (DbType = DateTime2), @p75='?' (DbType = Guid), @p76='?' (DbType = Guid), @p77='?' (Size = 50), @p78='?' (DbType = DateTime2), @p79='?' (DbType = Int32), @p80='?' (Size = 50), @p81='?' (DbType = DateTime2), @p82='?' (DbType = Guid), @p83='?' (Size = 4000), @p84='?' (DbType = DateTime2), @p85='?' (Size = 50), @p86='?' (DbType = DateTime2), @p87='?' (DbType = Guid), @p88='?' (Size = 4000), @p89='?' (DbType = Guid), @p90='?' (DbType = Guid), @p91='?' (Size = 50), @p92='?' (DbType = DateTime2), @p93='?' (DbType = Int32), @p94='?' (DbType = Int32), @p95='?' (Size = 50), @p96='?' (DbType = DateTime2), @p97='?' (DbType = Boolean), @p98='?' (DbType = Boolean), @p99='?' (DbType = Guid), @p100='?' (DbType = Guid), @p101='?' (Size = 50), @p102='?' (DbType = DateTime2), @p103='?' (DbType = Guid), @p104='?' (DbType = Guid), @p105='?' (Size = 4000), @p106='?' (Size = 50), @p107='?' (DbType = DateTime2), @p108='?' (Size = 50), @p109='?' (DbType = DateTime2), @p110='?' (DbType = DateTime2), @p111='?' (Size = 4000), @p112='?' (Size = 50), @p113='?' (DbType = DateTime2), @p114='?' (DbType = Guid), @p115='?' (DbType = Guid), @p116='?' (Size = 50), @p117='?' (DbType = DateTime2), @p118='?' (Size = 50), @p119='?' (DbType = DateTime2), @p120='?' (Size = 10), @p121='?' (Size = 500), @p122='?' (Size = 5), @p123='?' (Size = 5), @p124='?' (Size = 50), @p125='?' (DbType = DateTime2), @p126='?' (DbType = Guid), @p127='?' (Size = 50), @p128='?' (DbType = DateTime2), @p129='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p130='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p131='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p132='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p133='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p134='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p135='?' (Size = 50), @p136='?' (DbType = DateTime2), @p137='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p138='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p139='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p140='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p141='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p142='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p143='?' (Size = 50), @p144='?' (DbType = DateTime2), @p145='?' (DbType = Guid), @p146='?' (Size = 50), @p147='?' (DbType = DateTime2), @p148='?' (DbType = Int32), @p149='?' (DbType = Int32), @p150='?' (DbType = Int32), @p151='?' (DbType = Int32), @p152='?' (DbType = Int32), @p153='?' (Size = 50), @p154='?' (DbType = DateTime2), @p155='?' (DbType = Guid), @p156='?' (DbType = Guid), @p157='?' (Size = 4000), @p158='?' (DbType = DateTime2), @p159='?' (DbType = DateTime2), @p160='?' (DbType = DateTime2), @p161='?' (DbType = Guid), @p162='?' (DbType = DateTime2), @p163='?' (Size = 50), @p164='?' (DbType = DateTime2), @p165='?' (DbType = Guid), @p166='?' (Size = 4000), @p167='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET NOCOUNT ON;
      INSERT INTO [TiepDan] ([Uuid], [CreatedBy], [CreatedDate], [DMHinhThucTiepDanId], [DeletedBy], [DeletedDate], [DiaDiemTiepDan], [FileId], [LyDoTuChoi], [NgayHenTra], [NgayTiepDan], [SoTiepNhan], [UpdatedBy], [UpdatedDate], [UserId])
      OUTPUT INSERTED.[CId], INSERTED.[IsCongDanDen], INSERTED.[IsTuChoi]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14);
      INSERT INTO [DonThu] ([Id], [Code], [CreatedBy], [CreatedDate], [DMLinhVucId], [DMLoaiDoiTuongId], [DMNhiemKyId], [DMPhanTheoNoiDungId], [DMTrungDonId], [DeletedBy], [DeletedDate], [DiaChiCoQuan], [FileId], [GhiChu], [LanThu], [Name], [NoiDungDon], [NoiGhiNhanCode], [NoiGhiNhanCuThe], [NoiGhiNhanHuyenCode], [NoiGhiNhanTinhCode], [ParentUuid], [PhanTheoDieuKien], [PhanTheoSoNguoi], [SDTCoQuan], [SoVanBan], [TenCoQuan], [ThoiGianTiepNhan], [TiepDanId], [UpdatedBy], [UpdatedDate], [UserId])
      OUTPUT INSERTED.[CID], INSERTED.[SoNguoi], INSERTED.[SoNguoiDaiDien]
      VALUES (@p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, @p46);
      INSERT INTO [TiepDanCanBoDuocUyQuyen] ([TiepDanId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate])
      VALUES (@p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60);
      INSERT INTO [TiepDanCanBoTiepNhan] ([TiepDanId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate], [UserId])
      VALUES (@p61, @p62, @p63, @p64, @p65, @p66, @p67, @p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75);
      INSERT INTO [TiepDanXuLy] ([TiepDanId], [CreatedBy], [CreatedDate], [DMXuLyTiepDanId], [DeletedBy], [DeletedDate], [FileId], [GhiChu], [NgayXuLy], [UpdatedBy], [UpdatedDate], [UserId], [YKienXuLy])
      VALUES (@p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88);
      INSERT INTO [DonThuCanBoTiepNhan] ([DonThuId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate], [UserId])
      VALUES (@p89, @p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103);
      INSERT INTO [DonThuCoQuanDaGiaiQuyet] ([DonThuId], [CoQuanDaGiaiQuyet], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NgayBanHanh], [SoVanBanDaGiaiQuyet], [UpdatedBy], [UpdatedDate])
      VALUES (@p104, @p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113);
      INSERT INTO [DonThuNguoiDungDon] ([DonThuId], [ThongTinCaNhanId], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NoiOCode], [NoiOCuThe], [NoiOHuyenCode], [NoiOTinhCode], [UpdatedBy], [UpdatedDate])
      OUTPUT INSERTED.[Loai]
      VALUES (@p114, @p115, @p116, @p117, @p118, @p119, @p120, @p121, @p122, @p123, @p124, @p125);
      INSERT INTO [DonThuThucHien] ([DonThuId], [CreatedBy], [CreatedDate], [DatDaThuNhaNuoc], [DatDaTraCongDan], [DatDaTraToChuc], [DatPhaiThuNhaNuoc], [DatPhaiTraCongDan], [DatPhaiTraToChuc], [DeletedBy], [DeletedDate], [TienDaThuNhaNuoc], [TienDaTraCongDan], [TienDaTraToChuc], [TienPhaiThuNhaNuoc], [TienPhaiTraCongDan], [TienPhaiTraToChuc], [UpdatedBy], [UpdatedDate])
      VALUES (@p126, @p127, @p128, @p129, @p130, @p131, @p132, @p133, @p134, @p135, @p136, @p137, @p138, @p139, @p140, @p141, @p142, @p143, @p144);
      INSERT INTO [DonThuXuLy] ([Id], [CreatedBy], [CreatedDate], [DMHinhThucXuLyDonId], [DMLoaiHinhTiepNhanId], [DMNhomThamQuyenGiaiQuyetId], [DMPhanTheoThamQuyenId], [DMTrangThaiXuLyDonId], [DeletedBy], [DeletedDate], [DonThuId], [FileId], [GhiChu], [NgayTiepNhan], [NgayVanBan], [NgayXuLy], [ParentUuid], [ThoiHanXuLy], [UpdatedBy], [UpdatedDate], [UserId], [VanBan], [YKienXuLy])
      OUTPUT INSERTED.[CID], INSERTED.[IsYeuCauBaoCao]
      VALUES (@p145, @p146, @p147, @p148, @p149, @p150, @p151, @p152, @p153, @p154, @p155, @p156, @p157, @p158, @p159, @p160, @p161, @p162, @p163, @p164, @p165, @p166, @p167);
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:54:58.0561638Z", LastUpdateTimestamp: "2025-02-10T03:54:58.0561872Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:54:58.3789657Z", LastUpdateTimestamp: "2025-02-10T03:54:58.3789780Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:54:59.5569270Z", LastUpdateTimestamp: "2025-02-10T03:54:59.5569362Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:55:03.0378503Z", LastUpdateTimestamp: "2025-02-10T03:55:03.0378626Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:55:03.3672187Z", LastUpdateTimestamp: "2025-02-10T03:55:03.3672309Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:54:59.5569270Z", LastUpdateTimestamp: "2025-02-10T03:54:59.5569362Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:55:03.0378503Z", LastUpdateTimestamp: "2025-02-10T03:55:03.0378626Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:55:03.3672187Z", LastUpdateTimestamp: "2025-02-10T03:55:03.3672309Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:54:59.5569270Z", LastUpdateTimestamp: "2025-02-10T03:54:59.5569362Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'AddNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:55:23.0445316Z", LastUpdateTimestamp: "2025-02-10T03:55:23.0445487Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:55:23.3742181Z", LastUpdateTimestamp: "2025-02-10T03:55:23.3742416Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:55:19.5589223Z", LastUpdateTimestamp: "2025-02-10T03:55:19.5589354Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.UnaryServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request)
      --- End of stack trace from previous location ---
         at Grpc.AspNetCore.Server.Internal.CallHandlers.UnaryServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__uuid_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DonThu] AS [d]
              WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__uuid_0) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:55:33.0342574Z", LastUpdateTimestamp: "2025-02-10T03:55:33.0342649Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:55:33.3672265Z", LastUpdateTimestamp: "2025-02-10T03:55:33.3672318Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:55:29.5606404Z", LastUpdateTimestamp: "2025-02-10T03:55:29.5606524Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:56:03.0423294Z", LastUpdateTimestamp: "2025-02-10T03:56:03.0423417Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:56:03.3706228Z", LastUpdateTimestamp: "2025-02-10T03:56:03.3706318Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:55:59.5755503Z", LastUpdateTimestamp: "2025-02-10T03:55:59.5755659Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:56:33.0380867Z", LastUpdateTimestamp: "2025-02-10T03:56:33.0381049Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:56:33.3690590Z", LastUpdateTimestamp: "2025-02-10T03:56:33.3690663Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:56:29.5806811Z", LastUpdateTimestamp: "2025-02-10T03:56:29.5806923Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:57:03.0385773Z", LastUpdateTimestamp: "2025-02-10T03:57:03.0385896Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:57:03.3706988Z", LastUpdateTimestamp: "2025-02-10T03:57:03.3707181Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:56:59.5842947Z", LastUpdateTimestamp: "2025-02-10T03:56:59.5843123Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__model_Month_0='?' (DbType = Int32), @__model_Year_1='?' (DbType = Int32), @___currentUser_User_Id_Value_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan], [t].[UserId]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[OrganizationId]
          FROM [TiepDanCanBoTiepNhan] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      LEFT JOIN (
          SELECT [t4].[TiepDanId], [t4].[UserId]
          FROM [TiepDanXuLy] AS [t4]
          WHERE [t4].[DeletedDate] IS NULL
      ) AS [t3] ON [t0].[Uuid] = [t3].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[TiepDanId] IS NOT NULL) AND [t0].[IsTuChoi] = CAST(0 AS bit) AND DATEPART(month, [t0].[NgayTiepDan]) = @__model_Month_0 AND DATEPART(year, [t0].[NgayTiepDan]) = @__model_Year_1 AND ([t0].[UserId] = @___currentUser_User_Id_Value_2 OR [t1].[OrganizationId] = @___currentUser_OrganizationId_3 OR [t3].[UserId] = @___currentUser_User_Id_Value_2)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (10ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t6].[Code] AS [XuLyCode], [t6].[Name] AS [XuLyName], [t6].[IsXuLy], COUNT(*) AS [TongSo]
      FROM (
          SELECT [t4].[Code], [t4].[Name], CASE
              WHEN [t4].[Code] <> N'3' OR ([t4].[Code] IS NULL) OR (([t5].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d1]
                  LEFT JOIN (
                      SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d2]
                      WHERE [d2].[DeletedDate] IS NULL
                  ) AS [t7] ON [d1].[Id] = [t7].[DonThuXuLyId]
                  WHERE ([d1].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d1].[DonThuId] AND [t7].[OrganizationId] = @___currentUser_OrganizationId_0) AND ((
                  SELECT TOP(1) [t9].[Id]
                  FROM [DonThuXuLy] AS [d3]
                  LEFT JOIN (
                      SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d4]
                      WHERE [d4].[DeletedDate] IS NULL
                  ) AS [t8] ON [d3].[Id] = [t8].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d5]
                      WHERE [d5].[DeletedDate] IS NULL
                  ) AS [t9] ON [d3].[DMTrangThaiXuLyDonId] = [t9].[Id]
                  WHERE ([d3].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d3].[DonThuId] AND [t8].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL) AND (
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) = N'2' AND ((
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL)) THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [IsXuLy]
          FROM [TiepDan] AS [t]
          LEFT JOIN (
              SELECT [t1].[TiepDanId], [t1].[OrganizationId]
              FROM [TiepDanCanBoTiepNhan] AS [t1]
              WHERE [t1].[DeletedDate] IS NULL
          ) AS [t0] ON [t].[Uuid] = [t0].[TiepDanId]
          LEFT JOIN (
              SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t3]
              WHERE [t3].[DeletedDate] IS NULL
          ) AS [t2] ON [t].[Uuid] = [t2].[TiepDanId]
          LEFT JOIN (
              SELECT [d].[Id], [d].[Code], [d].[Name]
              FROM [DMXuLyTiepDan] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t4] ON [t2].[DMXuLyTiepDanId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d0].[Id], [d0].[TiepDanId]
              FROM [DonThu] AS [d0]
              WHERE [d0].[DeletedDate] IS NULL
          ) AS [t5] ON [t].[Uuid] = [t5].[TiepDanId]
          WHERE ([t].[DeletedDate] IS NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [t].[NgayTiepDan]) = @__model_Month_1 AND DATEPART(year, [t].[NgayTiepDan]) = @__model_Year_2
      ) AS [t6]
      GROUP BY [t6].[Code], [t6].[Name], [t6].[IsXuLy]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__currentUser_OrganizationId_1='?' (DbType = Guid), @__currentUser_OrganizationId_2='?' (DbType = Guid), @__model_Month_3='?' (DbType = Int32), @__model_Year_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[CreatedBy], [d].[CreatedDate], [d].[DMHinhThucXuLyDonId], [d].[DMLoaiHinhTiepNhanId], [d].[DMNhomThamQuyenGiaiQuyetId], [d].[DMPhanTheoThamQuyenId], [d].[DMTrangThaiXuLyDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuId], [d].[FileId], [d].[GhiChu], [d].[IsYeuCauBaoCao], [d].[NgayTiepNhan], [d].[NgayVanBan], [d].[NgayXuLy], [d].[ParentUuid], [d].[ThoiHanXuLy], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId], [d].[VanBan], [d].[YKienXuLy]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[OrganizationId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [d1].[Id]
          FROM [DonThuXuLy] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[ParentUuid] = [t0].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[UserId] = @__currentUser_User_Id_Value_0 OR [t].[OrganizationId] = @__currentUser_OrganizationId_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLyChuyenDon] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND ([t0].[Id] IS NOT NULL) AND [t0].[Id] = [d2].[DonThuXuLyId] AND [d2].[CoQuanTiepNhanId] = @__currentUser_OrganizationId_2 AND [d2].[TrangThai] <> 2)) AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_3 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_4
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT (COALESCE([t0].[HoVaTenDem], N'') + N' ') + COALESCE([t0].[Ten], N'') AS [HoVaTen], [t2].[Name] AS [ChucVu], COUNT(*) AS [SoDon]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[DMChucVuId], [d0].[OrganizationId], [d0].[ThongTinCaNhanId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [t1].[Uuid], [t1].[HoVaTenDem], [t1].[Ten]
          FROM [ThongTinCaNhan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [t].[ThongTinCaNhanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMChucVu] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t2] ON [t].[DMChucVuId] = [t2].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND [t].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_1 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_2
      GROUP BY [t0].[HoVaTenDem], [t0].[Ten], [t2].[Name]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (16ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:57:33.0405670Z", LastUpdateTimestamp: "2025-02-10T03:57:33.0405784Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:57:33.3684192Z", LastUpdateTimestamp: "2025-02-10T03:57:33.3684312Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:57:29.5889835Z", LastUpdateTimestamp: "2025-02-10T03:57:29.5889975Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @__User_Id_0
warn: Microsoft.EntityFrameworkCore.Query[20504]
      Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (165ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__currentUser_CanBoId_1='?' (DbType = Guid), @__currentUser_OrganizationId_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid), @__key_4='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[DonThuId], [t1].[CoQuanDaGiaiQuyet], [t1].[CreatedBy], [t1].[CreatedDate], [t1].[DeletedBy], [t1].[DeletedDate], [t1].[NgayBanHanh], [t1].[SoVanBanDaGiaiQuyet], [t1].[UpdatedBy], [t1].[UpdatedDate], [t2].[Id], [t2].[Code], [t2].[CreatedBy], [t2].[CreatedDate], [t2].[DeletedBy], [t2].[DeletedDate], [t2].[HuyenCode], [t2].[Name], [t2].[Prefix], [t2].[UpdatedBy], [t2].[UpdatedDate], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t3].[Id], [t3].[Code], [t3].[CreatedBy], [t3].[CreatedDate], [t3].[DeletedBy], [t3].[DeletedDate], [t3].[Name], [t3].[TinhCode], [t3].[UpdatedBy], [t3].[UpdatedDate], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t4].[Id], [t4].[Code], [t4].[CreatedBy], [t4].[CreatedDate], [t4].[DeletedBy], [t4].[DeletedDate], [t4].[Name], [t4].[Prefix], [t4].[UpdatedBy], [t4].[UpdatedDate], CASE
          WHEN [t4].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [d].[Id], [t].[DonThuId], [t5].[DonThuId], [t6].[Uuid], [t8].[Uuid], [t10].[TiepDanId], [t12].[TiepDanId], [t14].[Id], [t15].[Id], [t15].[DonThuXuLyId], [t15].[Uuid], [t15].[CId], [t15].[CanBoTiepNhanId], [t15].[CoQuanTiepNhanId], [t15].[CoQuanTiepNhanNgoaiHeThong], [t15].[CreatedBy], [t15].[CreatedDate], [t15].[DeletedBy], [t15].[DeletedDate], [t15].[DonThuXuLyId0], [t15].[LyDoTuChoi], [t15].[NgayChuyenDon], [t15].[SoVanBanChuyenDon], [t15].[TrangThai], [t15].[UpdatedBy], [t15].[UpdatedDate], [t15].[CanBoId], [t15].[CreatedBy0], [t15].[CreatedDate0], [t15].[DMChucVuId], [t15].[DMPhongBanId], [t15].[DeletedBy0], [t15].[DeletedDate0], [t15].[IsLanhDao], [t15].[IsThuTruong], [t15].[OrganizationId], [t15].[ThongTinCaNhanId], [t15].[UpdatedBy0], [t15].[UpdatedDate0], [t15].[UserId], [t15].[c], [t15].[DMHinhThucXuLyDonId], [t15].[NgayTiepNhan], [t15].[DMPhanTheoThamQuyenId], [t5].[CreatedBy], [t5].[CreatedDate], [t5].[DeletedBy], [t5].[DeletedDate], [t5].[IsLuatSu], [t5].[NgayCap], [t5].[NoiCap], [t5].[SoThe], [t5].[ThongTinCaNhanId], [t5].[ThongTinGioiThieu], [t5].[UpdatedBy], [t5].[UpdatedDate], [t6].[DienThoai], [t6].[Email], [t6].[GioiTinh], [t6].[HoVaTenDem], [t6].[Ten], [t6].[SoDinhDanh], CASE
          WHEN [t6].[Uuid] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t5].[DonThuId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t18].[DienThoai], [t18].[Email], [t18].[GioiTinh], [t18].[HoVaTenDem], [t18].[Ten], [t18].[SoDinhDanh], [t18].[Uuid], [t18].[Loai], [t18].[DonThuId], [t18].[ThongTinCaNhanId], [t18].[c], [t8].[CId], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucTiepDanId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DiaDiemTiepDan], [t8].[FileId], [t8].[IsCongDanDen], [t8].[IsTuChoi], [t8].[LyDoTuChoi], [t8].[NgayHenTra], [t8].[NgayTiepDan], [t8].[SoTiepNhan], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DMXuLyTiepDanId], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[FileId], [t10].[GhiChu], [t10].[NgayXuLy], [t10].[UpdatedBy], [t10].[UpdatedDate], [t10].[UserId], [t10].[YKienXuLy], [t12].[CanBoId], [t12].[CreatedBy], [t12].[CreatedDate], [t12].[DMChucVuId], [t12].[DMPhongBanId], [t12].[DeletedBy], [t12].[DeletedDate], [t12].[IsLanhDao], [t12].[IsThuTruong], [t12].[OrganizationId], [t12].[ThongTinCaNhanId], [t12].[UpdatedBy], [t12].[UpdatedDate], CASE
          WHEN [t12].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t10].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t8].[Uuid] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t14].[Name], CASE
          WHEN [t14].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [d].[DMLinhVucId], [d].[DMPhanTheoNoiDungId], [d].[FileId], [d].[DMNhiemKyId], [d].[PhanTheoSoNguoi], [d].[SoNguoi], [d].[SoNguoiDaiDien], [d].[NoiDungDon], [d].[NoiGhiNhanCuThe], [d].[DMLoaiDoiTuongId], [d].[PhanTheoDieuKien], [d].[TenCoQuan], [d].[DiaChiCoQuan], [d].[SDTCoQuan], CASE
          WHEN [t1].[DonThuId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuId], [d0].[CanBoId]
          FROM [DonThuCanBoTiepNhan] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuId]
      LEFT JOIN (
          SELECT [d7].[DonThuId], [d7].[CoQuanDaGiaiQuyet], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[NgayBanHanh], [d7].[SoVanBanDaGiaiQuyet], [d7].[UpdatedBy], [d7].[UpdatedDate]
          FROM [DonThuCoQuanDaGiaiQuyet] AS [d7]
          WHERE [d7].[DeletedDate] IS NULL
      ) AS [t1] ON [d].[Id] = [t1].[DonThuId]
      LEFT JOIN (
          SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[HuyenCode], [d8].[Name], [d8].[Prefix], [d8].[UpdatedBy], [d8].[UpdatedDate]
          FROM [DMXa] AS [d8]
          WHERE [d8].[DeletedDate] IS NULL
      ) AS [t2] ON [d].[NoiGhiNhanCode] = [t2].[Code]
      LEFT JOIN (
          SELECT [d9].[Id], [d9].[Code], [d9].[CreatedBy], [d9].[CreatedDate], [d9].[DeletedBy], [d9].[DeletedDate], [d9].[Name], [d9].[TinhCode], [d9].[UpdatedBy], [d9].[UpdatedDate]
          FROM [DMHuyen] AS [d9]
          WHERE [d9].[DeletedDate] IS NULL
      ) AS [t3] ON [d].[NoiGhiNhanHuyenCode] = [t3].[Code]
      LEFT JOIN (
          SELECT [d10].[Id], [d10].[Code], [d10].[CreatedBy], [d10].[CreatedDate], [d10].[DeletedBy], [d10].[DeletedDate], [d10].[Name], [d10].[Prefix], [d10].[UpdatedBy], [d10].[UpdatedDate]
          FROM [DMTinh] AS [d10]
          WHERE [d10].[DeletedDate] IS NULL
      ) AS [t4] ON [d].[NoiGhiNhanTinhCode] = [t4].[Code]
      LEFT JOIN (
          SELECT [d11].[DonThuId], [d11].[CreatedBy], [d11].[CreatedDate], [d11].[DeletedBy], [d11].[DeletedDate], [d11].[IsLuatSu], [d11].[NgayCap], [d11].[NoiCap], [d11].[SoThe], [d11].[ThongTinCaNhanId], [d11].[ThongTinGioiThieu], [d11].[UpdatedBy], [d11].[UpdatedDate]
          FROM [DonThuNguoiUyQuyen] AS [d11]
          WHERE [d11].[DeletedDate] IS NULL
      ) AS [t5] ON [d].[Id] = [t5].[DonThuId]
      LEFT JOIN (
          SELECT [t7].[Uuid], [t7].[DienThoai], [t7].[Email], [t7].[GioiTinh], [t7].[HoVaTenDem], [t7].[SoDinhDanh], [t7].[Ten]
          FROM [ThongTinCaNhan] AS [t7]
          WHERE [t7].[DeletedDate] IS NULL
      ) AS [t6] ON [t5].[ThongTinCaNhanId] = [t6].[Uuid]
      LEFT JOIN (
          SELECT [t9].[Uuid], [t9].[CId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DMHinhThucTiepDanId], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[DiaDiemTiepDan], [t9].[FileId], [t9].[IsCongDanDen], [t9].[IsTuChoi], [t9].[LyDoTuChoi], [t9].[NgayHenTra], [t9].[NgayTiepDan], [t9].[SoTiepNhan], [t9].[UpdatedBy], [t9].[UpdatedDate], [t9].[UserId]
          FROM [TiepDan] AS [t9]
          WHERE [t9].[DeletedDate] IS NULL
      ) AS [t8] ON [d].[TiepDanId] = [t8].[Uuid]
      LEFT JOIN (
          SELECT [t11].[TiepDanId], [t11].[CreatedBy], [t11].[CreatedDate], [t11].[DMXuLyTiepDanId], [t11].[DeletedBy], [t11].[DeletedDate], [t11].[FileId], [t11].[GhiChu], [t11].[NgayXuLy], [t11].[UpdatedBy], [t11].[UpdatedDate], [t11].[UserId], [t11].[YKienXuLy]
          FROM [TiepDanXuLy] AS [t11]
          WHERE [t11].[DeletedDate] IS NULL
      ) AS [t10] ON [t8].[Uuid] = [t10].[TiepDanId]
      LEFT JOIN (
          SELECT [t13].[TiepDanId], [t13].[CanBoId], [t13].[CreatedBy], [t13].[CreatedDate], [t13].[DMChucVuId], [t13].[DMPhongBanId], [t13].[DeletedBy], [t13].[DeletedDate], [t13].[IsLanhDao], [t13].[IsThuTruong], [t13].[OrganizationId], [t13].[ThongTinCaNhanId], [t13].[UpdatedBy], [t13].[UpdatedDate]
          FROM [TiepDanCanBoDuocUyQuyen] AS [t13]
          WHERE [t13].[DeletedDate] IS NULL
      ) AS [t12] ON [t8].[Uuid] = [t12].[TiepDanId]
      LEFT JOIN (
          SELECT [d12].[Id], [d12].[Name]
          FROM [DMNhiemKy] AS [d12]
          WHERE [d12].[DeletedDate] IS NULL
      ) AS [t14] ON [d].[DMNhiemKyId] = [t14].[Id]
      LEFT JOIN (
          SELECT [d13].[Id], [t16].[DonThuXuLyId], [t17].[Uuid], [t17].[CId], [t17].[CanBoTiepNhanId], [t17].[CoQuanTiepNhanId], [t17].[CoQuanTiepNhanNgoaiHeThong], [t17].[CreatedBy], [t17].[CreatedDate], [t17].[DeletedBy], [t17].[DeletedDate], [t17].[DonThuXuLyId] AS [DonThuXuLyId0], [t17].[LyDoTuChoi], [t17].[NgayChuyenDon], [t17].[SoVanBanChuyenDon], [t17].[TrangThai], [t17].[UpdatedBy], [t17].[UpdatedDate], [t16].[CanBoId], [t16].[CreatedBy] AS [CreatedBy0], [t16].[CreatedDate] AS [CreatedDate0], [t16].[DMChucVuId], [t16].[DMPhongBanId], [t16].[DeletedBy] AS [DeletedBy0], [t16].[DeletedDate] AS [DeletedDate0], [t16].[IsLanhDao], [t16].[IsThuTruong], [t16].[OrganizationId], [t16].[ThongTinCaNhanId], [t16].[UpdatedBy] AS [UpdatedBy0], [t16].[UpdatedDate] AS [UpdatedDate0], [t16].[UserId], CASE
              WHEN [t16].[DonThuXuLyId] IS NULL THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [c], [d13].[DMHinhThucXuLyDonId], [d13].[NgayTiepNhan], [d13].[DMPhanTheoThamQuyenId], [d13].[DonThuId]
          FROM [DonThuXuLy] AS [d13]
          LEFT JOIN (
              SELECT [d14].[DonThuXuLyId], [d14].[CanBoId], [d14].[CreatedBy], [d14].[CreatedDate], [d14].[DMChucVuId], [d14].[DMPhongBanId], [d14].[DeletedBy], [d14].[DeletedDate], [d14].[IsLanhDao], [d14].[IsThuTruong], [d14].[OrganizationId], [d14].[ThongTinCaNhanId], [d14].[UpdatedBy], [d14].[UpdatedDate], [d14].[UserId]
              FROM [DonThuXuLyCanBo] AS [d14]
              WHERE [d14].[DeletedDate] IS NULL
          ) AS [t16] ON [d13].[Id] = [t16].[DonThuXuLyId]
          LEFT JOIN (
              SELECT [d15].[Uuid], [d15].[CId], [d15].[CanBoTiepNhanId], [d15].[CoQuanTiepNhanId], [d15].[CoQuanTiepNhanNgoaiHeThong], [d15].[CreatedBy], [d15].[CreatedDate], [d15].[DeletedBy], [d15].[DeletedDate], [d15].[DonThuXuLyId], [d15].[LyDoTuChoi], [d15].[NgayChuyenDon], [d15].[SoVanBanChuyenDon], [d15].[TrangThai], [d15].[UpdatedBy], [d15].[UpdatedDate]
              FROM [DonThuXuLyChuyenDon] AS [d15]
              WHERE [d15].[DeletedDate] IS NULL
          ) AS [t17] ON [d13].[Id] = [t17].[DonThuXuLyId]
          WHERE [d13].[DeletedDate] IS NULL
      ) AS [t15] ON [d].[Id] = [t15].[DonThuId]
      LEFT JOIN (
          SELECT [t19].[DienThoai], [t19].[Email], [t19].[GioiTinh], [t19].[HoVaTenDem], [t19].[Ten], [t19].[SoDinhDanh], [t19].[Uuid], [d16].[Loai], [d16].[DonThuId], [d16].[ThongTinCaNhanId], CAST(0 AS bit) AS [c]
          FROM [DonThuNguoiDungDon] AS [d16]
          INNER JOIN (
              SELECT [t20].[Uuid], [t20].[DienThoai], [t20].[Email], [t20].[GioiTinh], [t20].[HoVaTenDem], [t20].[SoDinhDanh], [t20].[Ten]
              FROM [ThongTinCaNhan] AS [t20]
              WHERE [t20].[DeletedDate] IS NULL
          ) AS [t19] ON [d16].[ThongTinCaNhanId] = [t19].[Uuid]
          WHERE [d16].[DeletedDate] IS NULL
      ) AS [t18] ON [d].[Id] = [t18].[DonThuId]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[UserId] = @__currentUser_User_Id_Value_0 OR [t].[CanBoId] = @__currentUser_CanBoId_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d1]
          WHERE ([d1].[DeletedDate] IS NULL) AND [d].[Id] = [d1].[DonThuId] AND [d1].[UserId] = @__currentUser_User_Id_Value_0) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d2]
          LEFT JOIN (
              SELECT [d3].[DonThuXuLyId], [d3].[CanBoId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DMChucVuId], [d3].[DMPhongBanId], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[IsLanhDao], [d3].[IsThuTruong], [d3].[OrganizationId], [d3].[ThongTinCaNhanId], [d3].[UpdatedBy], [d3].[UpdatedDate], [d3].[UserId]
              FROM [DonThuXuLyCanBo] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t0] ON [d2].[Id] = [t0].[DonThuXuLyId]
          WHERE ([d2].[DeletedDate] IS NULL) AND [d].[Id] = [d2].[DonThuId] AND [t0].[OrganizationId] = @__currentUser_OrganizationId_2) OR EXISTS (
          SELECT 1
          FROM [DonThuXuLy] AS [d4]
          WHERE ([d4].[DeletedDate] IS NULL) AND [d].[Id] = [d4].[DonThuId] AND EXISTS (
              SELECT 1
              FROM [DonThuXuLyChuyenDon] AS [d5]
              WHERE ([d5].[DeletedDate] IS NULL) AND [d4].[Id] = [d5].[DonThuXuLyId] AND [d5].[CoQuanTiepNhanId] = @___currentUser_OrganizationId_3) AND NOT (EXISTS (
              SELECT 1
              FROM [DonThuXuLy] AS [d6]
              WHERE ([d6].[DeletedDate] IS NULL) AND [d4].[Id] = [d6].[ParentUuid])))) AND [d].[Id] = @__key_4
      ORDER BY [d].[Id], [t].[DonThuId], [t1].[DonThuId], [t2].[Id], [t3].[Id], [t4].[Id], [t5].[DonThuId], [t6].[Uuid], [t8].[Uuid], [t10].[TiepDanId], [t12].[TiepDanId], [t14].[Id], [t15].[NgayTiepNhan], [t15].[Id], [t15].[DonThuXuLyId], [t15].[Uuid], [t18].[DonThuId], [t18].[ThongTinCaNhanId]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_5='?' (DbType = Int32), @___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean), @__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_5) [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DMChucVuId], [t0].[DMPhongBanId], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[OrganizationId], [t0].[ThongTinCaNhanId], [t0].[TrangThai], [t0].[UpdatedBy], [t0].[UpdatedDate], [t0].[UserId]
      FROM (
          SELECT [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
          FROM [CanBo] AS [c]
          INNER JOIN (
              SELECT [d].[Id], [d].[IsLanhDao]
              FROM [DMChucVu] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
          WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
          ORDER BY [c].[Uuid]
          OFFSET @__TypedProperty_3 ROWS FETCH NEXT @__TypedProperty_4 ROWS ONLY
      ) AS [t0]
      ORDER BY [t0].[Uuid]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [CanBo] AS [c]
      INNER JOIN (
          SELECT [d].[Id], [d].[IsLanhDao]
          FROM [DMChucVu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
      WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__TypedProperty_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:57:55.5442306Z", LastUpdateTimestamp: "2025-02-10T03:57:55.5442449Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:57:55.8744268Z", LastUpdateTimestamp: "2025-02-10T03:57:55.8744391Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:57:49.5905056Z", LastUpdateTimestamp: "2025-02-10T03:57:49.5905539Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:58:03.0405960Z", LastUpdateTimestamp: "2025-02-10T03:58:03.0406102Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:58:03.3716472Z", LastUpdateTimestamp: "2025-02-10T03:58:03.3716640Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:57:59.5925086Z", LastUpdateTimestamp: "2025-02-10T03:57:59.5925228Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__model_Month_0='?' (DbType = Int32), @__model_Year_1='?' (DbType = Int32), @___currentUser_User_Id_Value_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan], [t].[UserId]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[OrganizationId]
          FROM [TiepDanCanBoTiepNhan] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      LEFT JOIN (
          SELECT [t4].[TiepDanId], [t4].[UserId]
          FROM [TiepDanXuLy] AS [t4]
          WHERE [t4].[DeletedDate] IS NULL
      ) AS [t3] ON [t0].[Uuid] = [t3].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[TiepDanId] IS NOT NULL) AND [t0].[IsTuChoi] = CAST(0 AS bit) AND DATEPART(month, [t0].[NgayTiepDan]) = @__model_Month_0 AND DATEPART(year, [t0].[NgayTiepDan]) = @__model_Year_1 AND ([t0].[UserId] = @___currentUser_User_Id_Value_2 OR [t1].[OrganizationId] = @___currentUser_OrganizationId_3 OR [t3].[UserId] = @___currentUser_User_Id_Value_2)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT (COALESCE([t0].[HoVaTenDem], N'') + N' ') + COALESCE([t0].[Ten], N'') AS [HoVaTen], [t2].[Name] AS [ChucVu], COUNT(*) AS [SoDon]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[DMChucVuId], [d0].[OrganizationId], [d0].[ThongTinCaNhanId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [t1].[Uuid], [t1].[HoVaTenDem], [t1].[Ten]
          FROM [ThongTinCaNhan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [t].[ThongTinCaNhanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMChucVu] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t2] ON [t].[DMChucVuId] = [t2].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND [t].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_1 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_2
      GROUP BY [t0].[HoVaTenDem], [t0].[Ten], [t2].[Name]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__currentUser_OrganizationId_1='?' (DbType = Guid), @__currentUser_OrganizationId_2='?' (DbType = Guid), @__model_Month_3='?' (DbType = Int32), @__model_Year_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[CreatedBy], [d].[CreatedDate], [d].[DMHinhThucXuLyDonId], [d].[DMLoaiHinhTiepNhanId], [d].[DMNhomThamQuyenGiaiQuyetId], [d].[DMPhanTheoThamQuyenId], [d].[DMTrangThaiXuLyDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuId], [d].[FileId], [d].[GhiChu], [d].[IsYeuCauBaoCao], [d].[NgayTiepNhan], [d].[NgayVanBan], [d].[NgayXuLy], [d].[ParentUuid], [d].[ThoiHanXuLy], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId], [d].[VanBan], [d].[YKienXuLy]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[OrganizationId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [d1].[Id]
          FROM [DonThuXuLy] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[ParentUuid] = [t0].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[UserId] = @__currentUser_User_Id_Value_0 OR [t].[OrganizationId] = @__currentUser_OrganizationId_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLyChuyenDon] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND ([t0].[Id] IS NOT NULL) AND [t0].[Id] = [d2].[DonThuXuLyId] AND [d2].[CoQuanTiepNhanId] = @__currentUser_OrganizationId_2 AND [d2].[TrangThai] <> 2)) AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_3 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_4
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t6].[Code] AS [XuLyCode], [t6].[Name] AS [XuLyName], [t6].[IsXuLy], COUNT(*) AS [TongSo]
      FROM (
          SELECT [t4].[Code], [t4].[Name], CASE
              WHEN [t4].[Code] <> N'3' OR ([t4].[Code] IS NULL) OR (([t5].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d1]
                  LEFT JOIN (
                      SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d2]
                      WHERE [d2].[DeletedDate] IS NULL
                  ) AS [t7] ON [d1].[Id] = [t7].[DonThuXuLyId]
                  WHERE ([d1].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d1].[DonThuId] AND [t7].[OrganizationId] = @___currentUser_OrganizationId_0) AND ((
                  SELECT TOP(1) [t9].[Id]
                  FROM [DonThuXuLy] AS [d3]
                  LEFT JOIN (
                      SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d4]
                      WHERE [d4].[DeletedDate] IS NULL
                  ) AS [t8] ON [d3].[Id] = [t8].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d5]
                      WHERE [d5].[DeletedDate] IS NULL
                  ) AS [t9] ON [d3].[DMTrangThaiXuLyDonId] = [t9].[Id]
                  WHERE ([d3].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d3].[DonThuId] AND [t8].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL) AND (
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) = N'2' AND ((
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL)) THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [IsXuLy]
          FROM [TiepDan] AS [t]
          LEFT JOIN (
              SELECT [t1].[TiepDanId], [t1].[OrganizationId]
              FROM [TiepDanCanBoTiepNhan] AS [t1]
              WHERE [t1].[DeletedDate] IS NULL
          ) AS [t0] ON [t].[Uuid] = [t0].[TiepDanId]
          LEFT JOIN (
              SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t3]
              WHERE [t3].[DeletedDate] IS NULL
          ) AS [t2] ON [t].[Uuid] = [t2].[TiepDanId]
          LEFT JOIN (
              SELECT [d].[Id], [d].[Code], [d].[Name]
              FROM [DMXuLyTiepDan] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t4] ON [t2].[DMXuLyTiepDanId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d0].[Id], [d0].[TiepDanId]
              FROM [DonThu] AS [d0]
              WHERE [d0].[DeletedDate] IS NULL
          ) AS [t5] ON [t].[Uuid] = [t5].[TiepDanId]
          WHERE ([t].[DeletedDate] IS NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [t].[NgayTiepDan]) = @__model_Month_1 AND DATEPART(year, [t].[NgayTiepDan]) = @__model_Year_2
      ) AS [t6]
      GROUP BY [t6].[Code], [t6].[Name], [t6].[IsXuLy]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:58:25.5426424Z", LastUpdateTimestamp: "2025-02-10T03:58:25.5426634Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:58:25.8757974Z", LastUpdateTimestamp: "2025-02-10T03:58:25.8758158Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:58:19.5944239Z", LastUpdateTimestamp: "2025-02-10T03:58:19.5944345Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:58:33.0395411Z", LastUpdateTimestamp: "2025-02-10T03:58:33.0395523Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:58:33.3671688Z", LastUpdateTimestamp: "2025-02-10T03:58:33.3671797Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:58:29.5958001Z", LastUpdateTimestamp: "2025-02-10T03:58:29.5958255Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:58:58.0499600Z", LastUpdateTimestamp: "2025-02-10T03:58:58.0499723Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:58:55.8712177Z", LastUpdateTimestamp: "2025-02-10T03:58:55.8712300Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:58:49.5980269Z", LastUpdateTimestamp: "2025-02-10T03:58:49.5980596Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:59:03.0403258Z", LastUpdateTimestamp: "2025-02-10T03:59:03.0403379Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:59:03.3686212Z", LastUpdateTimestamp: "2025-02-10T03:59:03.3686332Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:58:59.5990418Z", LastUpdateTimestamp: "2025-02-10T03:58:59.5990605Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:59:28.0485903Z", LastUpdateTimestamp: "2025-02-10T03:59:28.0486023Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:59:25.8751655Z", LastUpdateTimestamp: "2025-02-10T03:59:25.8751817Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:59:19.6002855Z", LastUpdateTimestamp: "2025-02-10T03:59:19.6003051Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:59:58.0512488Z", LastUpdateTimestamp: "2025-02-10T03:59:58.0512653Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T03:59:55.8747355Z", LastUpdateTimestamp: "2025-02-10T03:59:55.8747476Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T03:59:49.6043841Z", LastUpdateTimestamp: "2025-02-10T03:59:49.6043933Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__model_Month_0='?' (DbType = Int32), @__model_Year_1='?' (DbType = Int32), @___currentUser_User_Id_Value_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan], [t].[UserId]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[OrganizationId]
          FROM [TiepDanCanBoTiepNhan] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      LEFT JOIN (
          SELECT [t4].[TiepDanId], [t4].[UserId]
          FROM [TiepDanXuLy] AS [t4]
          WHERE [t4].[DeletedDate] IS NULL
      ) AS [t3] ON [t0].[Uuid] = [t3].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[TiepDanId] IS NOT NULL) AND [t0].[IsTuChoi] = CAST(0 AS bit) AND DATEPART(month, [t0].[NgayTiepDan]) = @__model_Month_0 AND DATEPART(year, [t0].[NgayTiepDan]) = @__model_Year_1 AND ([t0].[UserId] = @___currentUser_User_Id_Value_2 OR [t1].[OrganizationId] = @___currentUser_OrganizationId_3 OR [t3].[UserId] = @___currentUser_User_Id_Value_2)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT (COALESCE([t0].[HoVaTenDem], N'') + N' ') + COALESCE([t0].[Ten], N'') AS [HoVaTen], [t2].[Name] AS [ChucVu], COUNT(*) AS [SoDon]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[DMChucVuId], [d0].[OrganizationId], [d0].[ThongTinCaNhanId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [t1].[Uuid], [t1].[HoVaTenDem], [t1].[Ten]
          FROM [ThongTinCaNhan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [t].[ThongTinCaNhanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMChucVu] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t2] ON [t].[DMChucVuId] = [t2].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND [t].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_1 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_2
      GROUP BY [t0].[HoVaTenDem], [t0].[Ten], [t2].[Name]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__currentUser_OrganizationId_1='?' (DbType = Guid), @__currentUser_OrganizationId_2='?' (DbType = Guid), @__model_Month_3='?' (DbType = Int32), @__model_Year_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[CreatedBy], [d].[CreatedDate], [d].[DMHinhThucXuLyDonId], [d].[DMLoaiHinhTiepNhanId], [d].[DMNhomThamQuyenGiaiQuyetId], [d].[DMPhanTheoThamQuyenId], [d].[DMTrangThaiXuLyDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuId], [d].[FileId], [d].[GhiChu], [d].[IsYeuCauBaoCao], [d].[NgayTiepNhan], [d].[NgayVanBan], [d].[NgayXuLy], [d].[ParentUuid], [d].[ThoiHanXuLy], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId], [d].[VanBan], [d].[YKienXuLy]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[OrganizationId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [d1].[Id]
          FROM [DonThuXuLy] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[ParentUuid] = [t0].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[UserId] = @__currentUser_User_Id_Value_0 OR [t].[OrganizationId] = @__currentUser_OrganizationId_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLyChuyenDon] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND ([t0].[Id] IS NOT NULL) AND [t0].[Id] = [d2].[DonThuXuLyId] AND [d2].[CoQuanTiepNhanId] = @__currentUser_OrganizationId_2 AND [d2].[TrangThai] <> 2)) AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_3 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_4
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t6].[Code] AS [XuLyCode], [t6].[Name] AS [XuLyName], [t6].[IsXuLy], COUNT(*) AS [TongSo]
      FROM (
          SELECT [t4].[Code], [t4].[Name], CASE
              WHEN [t4].[Code] <> N'3' OR ([t4].[Code] IS NULL) OR (([t5].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d1]
                  LEFT JOIN (
                      SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d2]
                      WHERE [d2].[DeletedDate] IS NULL
                  ) AS [t7] ON [d1].[Id] = [t7].[DonThuXuLyId]
                  WHERE ([d1].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d1].[DonThuId] AND [t7].[OrganizationId] = @___currentUser_OrganizationId_0) AND ((
                  SELECT TOP(1) [t9].[Id]
                  FROM [DonThuXuLy] AS [d3]
                  LEFT JOIN (
                      SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d4]
                      WHERE [d4].[DeletedDate] IS NULL
                  ) AS [t8] ON [d3].[Id] = [t8].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d5]
                      WHERE [d5].[DeletedDate] IS NULL
                  ) AS [t9] ON [d3].[DMTrangThaiXuLyDonId] = [t9].[Id]
                  WHERE ([d3].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d3].[DonThuId] AND [t8].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL) AND (
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) = N'2' AND ((
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL)) THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [IsXuLy]
          FROM [TiepDan] AS [t]
          LEFT JOIN (
              SELECT [t1].[TiepDanId], [t1].[OrganizationId]
              FROM [TiepDanCanBoTiepNhan] AS [t1]
              WHERE [t1].[DeletedDate] IS NULL
          ) AS [t0] ON [t].[Uuid] = [t0].[TiepDanId]
          LEFT JOIN (
              SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t3]
              WHERE [t3].[DeletedDate] IS NULL
          ) AS [t2] ON [t].[Uuid] = [t2].[TiepDanId]
          LEFT JOIN (
              SELECT [d].[Id], [d].[Code], [d].[Name]
              FROM [DMXuLyTiepDan] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t4] ON [t2].[DMXuLyTiepDanId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d0].[Id], [d0].[TiepDanId]
              FROM [DonThu] AS [d0]
              WHERE [d0].[DeletedDate] IS NULL
          ) AS [t5] ON [t].[Uuid] = [t5].[TiepDanId]
          WHERE ([t].[DeletedDate] IS NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [t].[NgayTiepDan]) = @__model_Month_1 AND DATEPART(year, [t].[NgayTiepDan]) = @__model_Year_2
      ) AS [t6]
      GROUP BY [t6].[Code], [t6].[Name], [t6].[IsXuLy]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:01:06.1955936Z", LastUpdateTimestamp: "2025-02-10T04:01:06.1956012Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:01:05.8751640Z", LastUpdateTimestamp: "2025-02-10T04:01:05.8751724Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T04:00:59.6201956Z", LastUpdateTimestamp: "2025-02-10T04:00:59.6202121Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"from":"2025-02-19T00:00:00+07:00","to":"2025-02-04T00:00:00+07:00"}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (9ms) [Parameters=[@__model_From_Date_0='?' (DbType = DateTime2), @__model_To_Date_1='?' (DbType = DateTime2), @___currentUserExtend_OrganizationId_2='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t7].[OrganName] AS [DonVi], [t7].[Uuid0] AS [OrganId], [t7].[Code1] AS [HinhThucTiepDanCode], [t7].[HasUyQuyen], [t7].[IsThuTruong], [t7].[IsDoan], [t7].[IsLanDau], COUNT(*) AS [SoLuong], CASE
          WHEN [t7].[IsDoan] = CAST(0 AS bit) THEN 0
          ELSE COALESCE(SUM([t7].[SoNguoi]), 0)
      END AS [SoNguoiDuocTiep]
      FROM (
          SELECT [d].[SoNguoi], [t1].[IsThuTruong], [t3].[Uuid] AS [Uuid0], [t3].[OrganName], [t4].[Code] AS [Code1], CASE
              WHEN [t5].[TiepDanId] IS NULL THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [HasUyQuyen], CASE
              WHEN [d].[PhanTheoSoNguoi] = 1 THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [IsDoan], CASE
              WHEN [d].[LanThu] < 2 THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [IsLanDau]
          FROM [DonThu] AS [d]
          LEFT JOIN (
              SELECT [t].[Uuid], [t].[DMHinhThucTiepDanId], [t].[IsCongDanDen], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE [t].[DeletedDate] IS NULL
          ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
          LEFT JOIN (
              SELECT [t2].[TiepDanId], [t2].[IsThuTruong], [t2].[OrganizationId]
              FROM [TiepDanCanBoTiepNhan] AS [t2]
              WHERE [t2].[DeletedDate] IS NULL
          ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
          LEFT JOIN (
              SELECT [o].[Uuid], [o].[OrganName]
              FROM [Organization] AS [o]
              WHERE [o].[DeletedDate] IS NULL
          ) AS [t3] ON [t1].[OrganizationId] = [t3].[Uuid]
          LEFT JOIN (
              SELECT [d0].[Id], [d0].[Code]
              FROM [DMHinhThucTiepDan] AS [d0]
              WHERE [d0].[DeletedDate] IS NULL
          ) AS [t4] ON [t0].[DMHinhThucTiepDanId] = [t4].[Id]
          LEFT JOIN (
              SELECT [t6].[TiepDanId]
              FROM [TiepDanCanBoDuocUyQuyen] AS [t6]
              WHERE [t6].[DeletedDate] IS NULL
          ) AS [t5] ON [t0].[Uuid] = [t5].[TiepDanId]
          WHERE ([d].[DeletedDate] IS NULL) AND ([t0].[Uuid] IS NOT NULL) AND @__model_From_Date_0 <= CONVERT(date, [t0].[NgayTiepDan]) AND CONVERT(date, [t0].[NgayTiepDan]) <= @__model_To_Date_1 AND [t0].[IsTuChoi] = CAST(0 AS bit) AND [t0].[IsCongDanDen] = CAST(1 AS bit) AND @___currentUserExtend_OrganizationId_2 = [t1].[OrganizationId]
      ) AS [t7]
      GROUP BY [t7].[OrganName], [t7].[Uuid0], [t7].[Code1], [t7].[HasUyQuyen], [t7].[IsThuTruong], [t7].[IsDoan], [t7].[IsLanDau]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__model_Month_0='?' (DbType = Int32), @__model_Year_1='?' (DbType = Int32), @___currentUser_User_Id_Value_2='?' (DbType = Guid), @___currentUser_OrganizationId_3='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT(*)
      FROM [DonThu] AS [d]
      LEFT JOIN (
          SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan], [t].[UserId]
          FROM [TiepDan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[TiepDanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [t2].[TiepDanId], [t2].[OrganizationId]
          FROM [TiepDanCanBoTiepNhan] AS [t2]
          WHERE [t2].[DeletedDate] IS NULL
      ) AS [t1] ON [t0].[Uuid] = [t1].[TiepDanId]
      LEFT JOIN (
          SELECT [t4].[TiepDanId], [t4].[UserId]
          FROM [TiepDanXuLy] AS [t4]
          WHERE [t4].[DeletedDate] IS NULL
      ) AS [t3] ON [t0].[Uuid] = [t3].[TiepDanId]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[TiepDanId] IS NOT NULL) AND [t0].[IsTuChoi] = CAST(0 AS bit) AND DATEPART(month, [t0].[NgayTiepDan]) = @__model_Month_0 AND DATEPART(year, [t0].[NgayTiepDan]) = @__model_Year_1 AND ([t0].[UserId] = @___currentUser_User_Id_Value_2 OR [t1].[OrganizationId] = @___currentUser_OrganizationId_3 OR [t3].[UserId] = @___currentUser_User_Id_Value_2)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"month":2,"year":2025}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__currentUser_OrganizationId_1='?' (DbType = Guid), @__currentUser_OrganizationId_2='?' (DbType = Guid), @__model_Month_3='?' (DbType = Int32), @__model_Year_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[CID], [d].[CreatedBy], [d].[CreatedDate], [d].[DMHinhThucXuLyDonId], [d].[DMLoaiHinhTiepNhanId], [d].[DMNhomThamQuyenGiaiQuyetId], [d].[DMPhanTheoThamQuyenId], [d].[DMTrangThaiXuLyDonId], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuId], [d].[FileId], [d].[GhiChu], [d].[IsYeuCauBaoCao], [d].[NgayTiepNhan], [d].[NgayVanBan], [d].[NgayXuLy], [d].[ParentUuid], [d].[ThoiHanXuLy], [d].[UpdatedBy], [d].[UpdatedDate], [d].[UserId], [d].[VanBan], [d].[YKienXuLy]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[OrganizationId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [d1].[Id]
          FROM [DonThuXuLy] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t0] ON [d].[ParentUuid] = [t0].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND ([d].[UserId] = @__currentUser_User_Id_Value_0 OR [t].[OrganizationId] = @__currentUser_OrganizationId_1 OR EXISTS (
          SELECT 1
          FROM [DonThuXuLyChuyenDon] AS [d2]
          WHERE ([d2].[DeletedDate] IS NULL) AND ([t0].[Id] IS NOT NULL) AND [t0].[Id] = [d2].[DonThuXuLyId] AND [d2].[CoQuanTiepNhanId] = @__currentUser_OrganizationId_2 AND [d2].[TrangThai] <> 2)) AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_3 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_4
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t6].[Code] AS [XuLyCode], [t6].[Name] AS [XuLyName], [t6].[IsXuLy], COUNT(*) AS [TongSo]
      FROM (
          SELECT [t4].[Code], [t4].[Name], CASE
              WHEN [t4].[Code] <> N'3' OR ([t4].[Code] IS NULL) OR (([t5].[Id] IS NOT NULL) AND EXISTS (
                  SELECT 1
                  FROM [DonThuXuLy] AS [d1]
                  LEFT JOIN (
                      SELECT [d2].[DonThuXuLyId], [d2].[CanBoId], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMChucVuId], [d2].[DMPhongBanId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[IsLanhDao], [d2].[IsThuTruong], [d2].[OrganizationId], [d2].[ThongTinCaNhanId], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d2]
                      WHERE [d2].[DeletedDate] IS NULL
                  ) AS [t7] ON [d1].[Id] = [t7].[DonThuXuLyId]
                  WHERE ([d1].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d1].[DonThuId] AND [t7].[OrganizationId] = @___currentUser_OrganizationId_0) AND ((
                  SELECT TOP(1) [t9].[Id]
                  FROM [DonThuXuLy] AS [d3]
                  LEFT JOIN (
                      SELECT [d4].[DonThuXuLyId], [d4].[CanBoId], [d4].[CreatedBy], [d4].[CreatedDate], [d4].[DMChucVuId], [d4].[DMPhongBanId], [d4].[DeletedBy], [d4].[DeletedDate], [d4].[IsLanhDao], [d4].[IsThuTruong], [d4].[OrganizationId], [d4].[ThongTinCaNhanId], [d4].[UpdatedBy], [d4].[UpdatedDate], [d4].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d4]
                      WHERE [d4].[DeletedDate] IS NULL
                  ) AS [t8] ON [d3].[Id] = [t8].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d5].[Id], [d5].[Code], [d5].[CreatedBy], [d5].[CreatedDate], [d5].[DeletedBy], [d5].[DeletedDate], [d5].[Name], [d5].[Rank], [d5].[UpdatedBy], [d5].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d5]
                      WHERE [d5].[DeletedDate] IS NULL
                  ) AS [t9] ON [d3].[DMTrangThaiXuLyDonId] = [t9].[Id]
                  WHERE ([d3].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d3].[DonThuId] AND [t8].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL) AND (
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) = N'2' AND ((
                  SELECT TOP(1) [t11].[Code]
                  FROM [DonThuXuLy] AS [d6]
                  LEFT JOIN (
                      SELECT [d7].[DonThuXuLyId], [d7].[CanBoId], [d7].[CreatedBy], [d7].[CreatedDate], [d7].[DMChucVuId], [d7].[DMPhongBanId], [d7].[DeletedBy], [d7].[DeletedDate], [d7].[IsLanhDao], [d7].[IsThuTruong], [d7].[OrganizationId], [d7].[ThongTinCaNhanId], [d7].[UpdatedBy], [d7].[UpdatedDate], [d7].[UserId]
                      FROM [DonThuXuLyCanBo] AS [d7]
                      WHERE [d7].[DeletedDate] IS NULL
                  ) AS [t10] ON [d6].[Id] = [t10].[DonThuXuLyId]
                  LEFT JOIN (
                      SELECT [d8].[Id], [d8].[Code], [d8].[CreatedBy], [d8].[CreatedDate], [d8].[DeletedBy], [d8].[DeletedDate], [d8].[Name], [d8].[Rank], [d8].[UpdatedBy], [d8].[UpdatedDate]
                      FROM [DMTrangThaiXuLyDon] AS [d8]
                      WHERE [d8].[DeletedDate] IS NULL
                  ) AS [t11] ON [d6].[DMTrangThaiXuLyDonId] = [t11].[Id]
                  WHERE ([d6].[DeletedDate] IS NULL) AND ([t5].[Id] IS NOT NULL) AND [t5].[Id] = [d6].[DonThuId] AND [t10].[OrganizationId] = @___currentUser_OrganizationId_0) IS NOT NULL)) THEN CAST(1 AS bit)
              ELSE CAST(0 AS bit)
          END AS [IsXuLy]
          FROM [TiepDan] AS [t]
          LEFT JOIN (
              SELECT [t1].[TiepDanId], [t1].[OrganizationId]
              FROM [TiepDanCanBoTiepNhan] AS [t1]
              WHERE [t1].[DeletedDate] IS NULL
          ) AS [t0] ON [t].[Uuid] = [t0].[TiepDanId]
          LEFT JOIN (
              SELECT [t3].[TiepDanId], [t3].[DMXuLyTiepDanId]
              FROM [TiepDanXuLy] AS [t3]
              WHERE [t3].[DeletedDate] IS NULL
          ) AS [t2] ON [t].[Uuid] = [t2].[TiepDanId]
          LEFT JOIN (
              SELECT [d].[Id], [d].[Code], [d].[Name]
              FROM [DMXuLyTiepDan] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t4] ON [t2].[DMXuLyTiepDanId] = [t4].[Id]
          LEFT JOIN (
              SELECT [d0].[Id], [d0].[TiepDanId]
              FROM [DonThu] AS [d0]
              WHERE [d0].[DeletedDate] IS NULL
          ) AS [t5] ON [t].[Uuid] = [t5].[TiepDanId]
          WHERE ([t].[DeletedDate] IS NULL) AND [t0].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [t].[NgayTiepDan]) = @__model_Month_1 AND DATEPART(year, [t].[NgayTiepDan]) = @__model_Year_2
      ) AS [t6]
      GROUP BY [t6].[Code], [t6].[Name], [t6].[IsXuLy]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__model_Month_1='?' (DbType = Int32), @__model_Year_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT (COALESCE([t0].[HoVaTenDem], N'') + N' ') + COALESCE([t0].[Ten], N'') AS [HoVaTen], [t2].[Name] AS [ChucVu], COUNT(*) AS [SoDon]
      FROM [DonThuXuLy] AS [d]
      LEFT JOIN (
          SELECT [d0].[DonThuXuLyId], [d0].[DMChucVuId], [d0].[OrganizationId], [d0].[ThongTinCaNhanId]
          FROM [DonThuXuLyCanBo] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t] ON [d].[Id] = [t].[DonThuXuLyId]
      LEFT JOIN (
          SELECT [t1].[Uuid], [t1].[HoVaTenDem], [t1].[Ten]
          FROM [ThongTinCaNhan] AS [t1]
          WHERE [t1].[DeletedDate] IS NULL
      ) AS [t0] ON [t].[ThongTinCaNhanId] = [t0].[Uuid]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMChucVu] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t2] ON [t].[DMChucVuId] = [t2].[Id]
      WHERE ([d].[DeletedDate] IS NULL) AND [t].[OrganizationId] = @___currentUser_OrganizationId_0 AND DATEPART(month, [d].[NgayTiepNhan]) = @__model_Month_1 AND DATEPART(year, [d].[NgayTiepNhan]) = @__model_Year_2
      GROUP BY [t0].[HoVaTenDem], [t0].[Ten], [t2].[Name]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Uuid], [d].[CId], [d].[CanBoTiepNhanId], [d].[CoQuanTiepNhanId], [d].[CoQuanTiepNhanNgoaiHeThong], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[DonThuXuLyId], [d].[LyDoTuChoi], [d].[NgayChuyenDon], [d].[SoVanBanChuyenDon], [d].[TrangThai], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DonThuXuLyChuyenDon] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DonThuXuLyId] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:01:36.2483253Z", LastUpdateTimestamp: "2025-02-10T04:01:36.2483728Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:01:35.8737510Z", LastUpdateTimestamp: "2025-02-10T04:01:35.8737597Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T04:01:29.6240178Z", LastUpdateTimestamp: "2025-02-10T04:01:29.6240533Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:02:06.3138509Z", LastUpdateTimestamp: "2025-02-10T04:02:06.3138593Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:02:05.8770864Z", LastUpdateTimestamp: "2025-02-10T04:02:05.8770987Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T04:01:59.6280742Z", LastUpdateTimestamp: "2025-02-10T04:01:59.6281404Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:02:36.3810639Z", LastUpdateTimestamp: "2025-02-10T04:02:36.3810994Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:02:35.8795258Z", LastUpdateTimestamp: "2025-02-10T04:02:35.8795395Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T04:02:29.6333653Z", LastUpdateTimestamp: "2025-02-10T04:02:29.6333757Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      AAAAAAA=
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'GetNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:03:06.4437712Z", LastUpdateTimestamp: "2025-02-10T04:03:06.4437785Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:03:05.8746633Z", LastUpdateTimestamp: "2025-02-10T04:03:05.8746756Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T04:02:59.6421154Z", LastUpdateTimestamp: "2025-02-10T04:02:59.6421413Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.Shared.Server.ServerStreamingServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request, IServerStreamWriter`1 streamWriter)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerStreamingServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      ------WebKitFormBoundaryYK7bWmTwJmeYI6Ft
      Content-Disposition: form-data; name="key"
      
      10c75527-08ca-4ce3-bf56-bf488ee4a052
      ------WebKitFormBoundaryYK7bWmTwJmeYI6Ft
      Content-Disposition: form-data; name="loaiVanBan"
      
      HANDLE
      ------WebKitFormBoundaryYK7bWmTwJmeYI6Ft
      Content-Disposition: form-data; name="file"; filename="download (1).pdf"
      Content-Type: application/pdf
      
      %PDF-1.5
      %????
      1 0 obj
      <</Type/Catalog/Pages 2 0 R/Lang(en-US) /StructTreeRoot 26 0 R/MarkInfo<</Marked true>>>>
      endobj
      2 0 obj
      <</Type/Pages/Count 2/Kids[ 3 0 R 23 0 R] >>
      endobj
      3 0 obj
      <</Type/Page/Parent 2 0 R/Resources<</XObject<</Image5 5 0 R/Image10 10 0 R>>/ExtGState<</GS6 6 0 R/GS9 9 0 R>>/Font<</F1 7 0 R/F2 11 0 R/F3 13 0 R/F4 18 0 R>>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/MediaBox[ 0 0 595.32 842.04] /Contents 4 0 R/Group<</Type/Group/S/Transparency/CS/DeviceRGB>>/Tabs/S>>
      endobj
      4 0 obj
      <</Filter/FlateDecode/Length 6439>>
      stream
      x??]?7r?@??#c??c??(;?
?zI??Ek?N?2?}???*?$???\?E?d?,???!????*?_??s^]????o??4\^????????????W???????/?????O??pu5????^=
?yq??3??q?3?Wl?A?q????û^??????????g7??>p1<~???9?4
7/-ay?
???Wk?
?_???|x?????^???:=??L?½?J??3Wy???????i??$?^5?q?.M;?????6|?Q?.???d??L??(?_
gI?}???????b=??K????O??~???d?s????<??Ky??/?0???o^??_~?u?K??q?KC????F?l???L
?????Fiz]?5Hc?|????9??y
n??jE??{Y??ZT????F?????+4"??&???i?&Z??*?xq??S???????B??S??jq????F5?khe?????????-?
?d"y????
???9S?N??~L???1U8`?S??G????????g???????'b?\?m,?%O}?\??G? ?w??rt)?u??b|?K?&hc?s?Q=????????yc?????!???9??Z
??[,?z???"J(?Vc?]??V??{?K6??W\?,@	?|?R?E?Q>?!??&?| ????*?|??
??F@?n??J]?7?H??	R!?M?z??.?B?|Z??x??N?/??e????y???u.???;?$?Oi???R-C??uo???? ??~???>'??N??~???'?c????I4??P??+BcUPCaj??jSEb????V??d[?Q???=?MgI?R??e??Z_B$ ?4?v?????R?1?^????p????E1O???An??Fl?????`E??b??`?R?M&8	??????4?????dQ??v??j????L7??<ubz?,????3?????B??r?]?S??N!?{?8?B??N????'???????aO??????????V??Bsn?7O?Td???,"??J^L???m???????0.???Gà?????y??+^??q?????v??????????`	?{)??RqX???Xz????M7x?ez?QO6?79???*}??
D??o(A?7J??y'B?H
A?&??U}?H??P??tf#?Tas?.??;?M??Tas???8????U?"???_)??}??L9ZU???????KwmG8?J?W?3?[i?x???gv?mH???{?]???g$?F????]???F?O?<uB	??R?O?8u???N^y?TQ?N^y??P??t}???i.??%?A?^?H?`2\O]r????LVl????N?$? ''???DC>??,Q???????8j?M????*( ^]p{?t{e?????Kd?y?	??????3z8}???._,?D	?GP?n!?z?66??????	v???{
???[??????????M>lv?a??&y??r??l2?7?*?????fM?.????T{????.?f?5?.9i?zx?q???^?QS???R?to????O
?w????~?8LKiNw?T[??^??_?2???5???R?32?Wc?,?3??Zd???E??????WÑ????Tt?F?u??l????Hh???????Jqinfo: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      ------WebKitFormBoundaryEyvhxxRhRkLfATzh
      Content-Disposition: form-data; name="key"
      
      0928b142-8fb6-45f5-a9c7-b9031eda77cd
      ------WebKitFormBoundaryEyvhxxRhRkLfATzh
      Content-Disposition: form-data; name="loaiVanBan"
      
      ATTACH
      ------WebKitFormBoundaryEyvhxxRhRkLfATzh
      Content-Disposition: form-data; name="file"; filename="download.pdf"
      Content-Type: application/pdf
      
      %PDF-1.5
      %????
      1 0 obj
      <</Type/Catalog/Pages 2 0 R/Lang(en-US) /StructTreeRoot 71 0 R/MarkInfo<</Marked true>>>>
      endobj
      2 0 obj
      <</Type/Pages/Count 14/Kids[ 3 0 R 33 0 R 45 0 R 47 0 R 49 0 R 51 0 R 54 0 R 56 0 R 58 0 R 60 0 R 62 0 R 64 0 R 66 0 R 68 0 R] >>
      endobj
      3 0 obj
      <</Type/Page/Parent 2 0 R/Resources<</XObject<</Image5 5 0 R/Image9 9 0 R>>/ExtGState<</GS6 6 0 R>>/Font<</F1 7 0 R/F2 10 0 R/F3 12 0 R/F4 17 0 R/F5 19 0 R/F6 21 0 R/F7 26 0 R/F8 28 0 R>>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/MediaBox[ 0 0 595.32 842.04] /Contents 4 0 R/Group<</Type/Group/S/Transparency/CS/DeviceRGB>>/Tabs/S>>
      endobj
      4 0 obj
      <</Filter/FlateDecode/Length 4593>>
      stream
      x??\_o$?q???????MGX`zF?w|??$???zow??w^#???<?m-<??P???J??|rm???t?Z??5)??Hb\??)??t??`j{??b?U??U???]?wk????V5/l?hi??v??l
??P>?G@}??r?p?g?]?/??-?9?1?????K??#?lcK?qD??Ï„???Ry?`?????8"f?g??v??x?1???c3?3???info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"donThuNguoiDungDons":[{"thongTinCaNhanId":"1eaf1cb5-6f0e-4e5e-aaca-011ecec1e306","loai":"DUNGDON"}],"fileId":"0928b142-8fb6-45f5-a9c7-b9031eda77cd","tiepDan":{"soTiepNhan":"1231234","ngayTiepDan":"2025-02-10T10:54:20+07:00","ngayHenTra":"2025-02-20T10:54:20+07:00","dmHinhThucTiepDanId":1,"tiepDanXuLy":{"ngayXuLy":"2025-02-10T10:54:20+07:00","dmXuLyTiepDanId":3,"yKienXuLy":"hhhhhhhhh"},"fileId":"10c75527-08ca-4ce3-bf56-bf488ee4a052","tiepDanCanBoDuocUyQuyen":{"canBoId":"bf21da3c-eb3e-4f8c-aeee-1253f74a5ff0"}},"phanTheoSoNguoi":"Mot","dmNhiemKyId":11,"dmPhanTheoNoiDungId":2,"dmLinhVucId":74,"phanTheoDieuKien":"KhongDuDieuKien","noiDungDon":"kkkkaaaa","dmLoaiDoiTuongId":3,"thoiGianTiepNhan":"2025-02-10T10:54:20+07:00","donThuXuLys":[{"ngayTiepNhan":"2025-02-10T10:54:20+07:00","fileId":"a2be6bae-c8f8-49c9-ade7-19d3e2af9675","dmLoaiHinhTiepNhanId":2}],"noiGhiNhanTinhCode":"52","noiGhiNhanHuyenCode":"540","noiGhiNhanCode":"21571"}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [o].[Uuid], [o].[CId], [o].[Code], [o].[CreatedBy], [o].[CreatedDate], [o].[DMCapHanhChinhId], [o].[DMHuyenCode], [o].[DMTinhCode], [o].[DMXaCode], [o].[DeletedBy], [o].[DeletedDate], [o].[Email], [o].[Fax], [o].[OrganAdd], [o].[OrganId], [o].[OrganName], [o].[OrganizationInChargeId], [o].[State], [o].[Telephone], [o].[UpdatedBy], [o].[UpdatedDate], [o].[Website]
      FROM [Organization] AS [o]
      WHERE ([o].[DeletedDate] IS NULL) AND [o].[Uuid] = @__OrganizationId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @___currentUserExt_User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @___currentUserExt_User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (11ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 50), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (DbType = Guid), @p8='?' (Size = 4000), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Guid), @p15='?' (DbType = Guid), @p16='?' (Size = 50), @p17='?' (Size = 50), @p18='?' (DbType = DateTime2), @p19='?' (DbType = Int32), @p20='?' (DbType = Int32), @p21='?' (DbType = Int32), @p22='?' (DbType = Int32), @p23='?' (DbType = Int32), @p24='?' (Size = 50), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (DbType = Guid), @p28='?' (Size = 4000), @p29='?' (DbType = Int32), @p30='?' (Size = 500), @p31='?' (Size = 4000), @p32='?' (Size = 10), @p33='?' (Size = 4000), @p34='?' (Size = 5), @p35='?' (Size = 5), @p36='?' (DbType = Guid), @p37='?' (DbType = Int32), @p38='?' (DbType = Int32), @p39='?' (Size = 4000), @p40='?' (Size = 4000), @p41='?' (Size = 4000), @p42='?' (DbType = DateTime2), @p43='?' (DbType = Guid), @p44='?' (Size = 50), @p45='?' (DbType = DateTime2), @p46='?' (DbType = Guid), @p47='?' (DbType = Guid), @p48='?' (DbType = Guid), @p49='?' (Size = 50), @p50='?' (DbType = DateTime2), @p51='?' (DbType = Int32), @p52='?' (DbType = Int32), @p53='?' (Size = 50), @p54='?' (DbType = DateTime2), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (DbType = Guid), @p58='?' (DbType = Guid), @p59='?' (Size = 50), @p60='?' (DbType = DateTime2), @p61='?' (DbType = Guid), @p62='?' (DbType = Guid), @p63='?' (Size = 50), @p64='?' (DbType = DateTime2), @p65='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (Size = 50), @p68='?' (DbType = DateTime2), @p69='?' (DbType = Boolean), @p70='?' (DbType = Boolean), @p71='?' (DbType = Guid), @p72='?' (DbType = Guid), @p73='?' (Size = 50), @p74='?' (DbType = DateTime2), @p75='?' (DbType = Guid), @p76='?' (DbType = Guid), @p77='?' (Size = 50), @p78='?' (DbType = DateTime2), @p79='?' (DbType = Int32), @p80='?' (Size = 50), @p81='?' (DbType = DateTime2), @p82='?' (DbType = Guid), @p83='?' (Size = 4000), @p84='?' (DbType = DateTime2), @p85='?' (Size = 50), @p86='?' (DbType = DateTime2), @p87='?' (DbType = Guid), @p88='?' (Size = 4000), @p89='?' (DbType = Guid), @p90='?' (DbType = Guid), @p91='?' (Size = 50), @p92='?' (DbType = DateTime2), @p93='?' (DbType = Int32), @p94='?' (DbType = Int32), @p95='?' (Size = 50), @p96='?' (DbType = DateTime2), @p97='?' (DbType = Boolean), @p98='?' (DbType = Boolean), @p99='?' (DbType = Guid), @p100='?' (DbType = Guid), @p101='?' (Size = 50), @p102='?' (DbType = DateTime2), @p103='?' (DbType = Guid), @p104='?' (DbType = Guid), @p105='?' (Size = 4000), @p106='?' (Size = 50), @p107='?' (DbType = DateTime2), @p108='?' (Size = 50), @p109='?' (DbType = DateTime2), @p110='?' (DbType = DateTime2), @p111='?' (Size = 4000), @p112='?' (Size = 50), @p113='?' (DbType = DateTime2), @p114='?' (DbType = Guid), @p115='?' (DbType = Guid), @p116='?' (Size = 50), @p117='?' (DbType = DateTime2), @p118='?' (Size = 50), @p119='?' (DbType = DateTime2), @p120='?' (Size = 10), @p121='?' (Size = 500), @p122='?' (Size = 5), @p123='?' (Size = 5), @p124='?' (Size = 50), @p125='?' (DbType = DateTime2), @p126='?' (DbType = Guid), @p127='?' (Size = 50), @p128='?' (DbType = DateTime2), @p129='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p130='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p131='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p132='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p133='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p134='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p135='?' (Size = 50), @p136='?' (DbType = DateTime2), @p137='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p138='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p139='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p140='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p141='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p142='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p143='?' (Size = 50), @p144='?' (DbType = DateTime2), @p145='?' (DbType = Guid), @p146='?' (Size = 50), @p147='?' (DbType = DateTime2), @p148='?' (DbType = Int32), @p149='?' (DbType = Int32), @p150='?' (DbType = Int32), @p151='?' (DbType = Int32), @p152='?' (DbType = Int32), @p153='?' (Size = 50), @p154='?' (DbType = DateTime2), @p155='?' (DbType = Guid), @p156='?' (DbType = Guid), @p157='?' (Size = 4000), @p158='?' (DbType = DateTime2), @p159='?' (DbType = DateTime2), @p160='?' (DbType = DateTime2), @p161='?' (DbType = Guid), @p162='?' (DbType = DateTime2), @p163='?' (Size = 50), @p164='?' (DbType = DateTime2), @p165='?' (DbType = Guid), @p166='?' (Size = 4000), @p167='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET NOCOUNT ON;
      INSERT INTO [TiepDan] ([Uuid], [CreatedBy], [CreatedDate], [DMHinhThucTiepDanId], [DeletedBy], [DeletedDate], [DiaDiemTiepDan], [FileId], [LyDoTuChoi], [NgayHenTra], [NgayTiepDan], [SoTiepNhan], [UpdatedBy], [UpdatedDate], [UserId])
      OUTPUT INSERTED.[CId], INSERTED.[IsCongDanDen], INSERTED.[IsTuChoi]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14);
      INSERT INTO [DonThu] ([Id], [Code], [CreatedBy], [CreatedDate], [DMLinhVucId], [DMLoaiDoiTuongId], [DMNhiemKyId], [DMPhanTheoNoiDungId], [DMTrungDonId], [DeletedBy], [DeletedDate], [DiaChiCoQuan], [FileId], [GhiChu], [LanThu], [Name], [NoiDungDon], [NoiGhiNhanCode], [NoiGhiNhanCuThe], [NoiGhiNhanHuyenCode], [NoiGhiNhanTinhCode], [ParentUuid], [PhanTheoDieuKien], [PhanTheoSoNguoi], [SDTCoQuan], [SoVanBan], [TenCoQuan], [ThoiGianTiepNhan], [TiepDanId], [UpdatedBy], [UpdatedDate], [UserId])
      OUTPUT INSERTED.[CID], INSERTED.[SoNguoi], INSERTED.[SoNguoiDaiDien]
      VALUES (@p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, @p46);
      INSERT INTO [TiepDanCanBoDuocUyQuyen] ([TiepDanId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate])
      VALUES (@p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60);
      INSERT INTO [TiepDanCanBoTiepNhan] ([TiepDanId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate], [UserId])
      VALUES (@p61, @p62, @p63, @p64, @p65, @p66, @p67, @p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75);
      INSERT INTO [TiepDanXuLy] ([TiepDanId], [CreatedBy], [CreatedDate], [DMXuLyTiepDanId], [DeletedBy], [DeletedDate], [FileId], [GhiChu], [NgayXuLy], [UpdatedBy], [UpdatedDate], [UserId], [YKienXuLy])
      VALUES (@p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88);
      INSERT INTO [DonThuCanBoTiepNhan] ([DonThuId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate], [UserId])
      VALUES (@p89, @p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103);
      INSERT INTO [DonThuCoQuanDaGiaiQuyet] ([DonThuId], [CoQuanDaGiaiQuyet], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NgayBanHanh], [SoVanBanDaGiaiQuyet], [UpdatedBy], [UpdatedDate])
      VALUES (@p104, @p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113);
      INSERT INTO [DonThuNguoiDungDon] ([DonThuId], [ThongTinCaNhanId], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NoiOCode], [NoiOCuThe], [NoiOHuyenCode], [NoiOTinhCode], [UpdatedBy], [UpdatedDate])
      OUTPUT INSERTED.[Loai]
      VALUES (@p114, @p115, @p116, @p117, @p118, @p119, @p120, @p121, @p122, @p123, @p124, @p125);
      INSERT INTO [DonThuThucHien] ([DonThuId], [CreatedBy], [CreatedDate], [DatDaThuNhaNuoc], [DatDaTraCongDan], [DatDaTraToChuc], [DatPhaiThuNhaNuoc], [DatPhaiTraCongDan], [DatPhaiTraToChuc], [DeletedBy], [DeletedDate], [TienDaThuNhaNuoc], [TienDaTraCongDan], [TienDaTraToChuc], [TienPhaiThuNhaNuoc], [TienPhaiTraCongDan], [TienPhaiTraToChuc], [UpdatedBy], [UpdatedDate])
      VALUES (@p126, @p127, @p128, @p129, @p130, @p131, @p132, @p133, @p134, @p135, @p136, @p137, @p138, @p139, @p140, @p141, @p142, @p143, @p144);
      INSERT INTO [DonThuXuLy] ([Id], [CreatedBy], [CreatedDate], [DMHinhThucXuLyDonId], [DMLoaiHinhTiepNhanId], [DMNhomThamQuyenGiaiQuyetId], [DMPhanTheoThamQuyenId], [DMTrangThaiXuLyDonId], [DeletedBy], [DeletedDate], [DonThuId], [FileId], [GhiChu], [NgayTiepNhan], [NgayVanBan], [NgayXuLy], [ParentUuid], [ThoiHanXuLy], [UpdatedBy], [UpdatedDate], [UserId], [VanBan], [YKienXuLy])
      OUTPUT INSERTED.[CID], INSERTED.[IsYeuCauBaoCao]
      VALUES (@p145, @p146, @p147, @p148, @p149, @p150, @p151, @p152, @p153, @p154, @p155, @p156, @p157, @p158, @p159, @p160, @p161, @p162, @p163, @p164, @p165, @p166, @p167);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'AddNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:04:40.5329731Z", LastUpdateTimestamp: "2025-02-10T04:04:40.5329798Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:04:38.3783752Z", LastUpdateTimestamp: "2025-02-10T04:04:38.3783819Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T04:04:39.6634533Z", LastUpdateTimestamp: "2025-02-10T04:04:39.6634692Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.UnaryServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request)
      --- End of stack trace from previous location ---
         at Grpc.AspNetCore.Server.Internal.CallHandlers.UnaryServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__uuid_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DonThu] AS [d]
              WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__uuid_0) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (18ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {
  "username": "nguyenchia@gmail.com",
  "password": "@Nextformvn2024@"
}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[UserId], [a].[RoleId]
      FROM [AspNetUserRoles] AS [a]
      WHERE [a].[UserId] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__roleId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[CId], [a].[Code], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[IsRoot], [a].[IsSuperAdmin], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__roleId_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"donThuNguoiDungDons":[{"thongTinCaNhanId":"1eaf1cb5-6f0e-4e5e-aaca-011ecec1e306","loai":"DUNGDON"}],"fileId":"0928b142-8fb6-45f5-a9c7-b9031eda77cd","tiepDan":{"soTiepNhan":"1231234","ngayTiepDan":"2025-02-10T10:54:20+07:00","ngayHenTra":"2025-02-20T10:54:20+07:00","dmHinhThucTiepDanId":1,"tiepDanXuLy":{"ngayXuLy":"2025-02-10T10:54:20+07:00","dmXuLyTiepDanId":3,"yKienXuLy":"hhhhhhhhh"},"fileId":"10c75527-08ca-4ce3-bf56-bf488ee4a052","tiepDanCanBoDuocUyQuyen":{"canBoId":"bf21da3c-eb3e-4f8c-aeee-1253f74a5ff0"}},"phanTheoSoNguoi":"Mot","dmNhiemKyId":11,"dmPhanTheoNoiDungId":2,"dmLinhVucId":74,"phanTheoDieuKien":"KhongDuDieuKien","noiDungDon":"kkkkaaaa","dmLoaiDoiTuongId":3,"thoiGianTiepNhan":"2025-02-10T10:54:20+07:00","donThuXuLys":[{"ngayTiepNhan":"2025-02-10T10:54:20+07:00","fileId":"a2be6bae-c8f8-49c9-ade7-19d3e2af9675","dmLoaiHinhTiepNhanId":2}],"noiGhiNhanTinhCode":"52","noiGhiNhanHuyenCode":"540","noiGhiNhanCode":"21571"}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [o].[Uuid], [o].[CId], [o].[Code], [o].[CreatedBy], [o].[CreatedDate], [o].[DMCapHanhChinhId], [o].[DMHuyenCode], [o].[DMTinhCode], [o].[DMXaCode], [o].[DeletedBy], [o].[DeletedDate], [o].[Email], [o].[Fax], [o].[OrganAdd], [o].[OrganId], [o].[OrganName], [o].[OrganizationInChargeId], [o].[State], [o].[Telephone], [o].[UpdatedBy], [o].[UpdatedDate], [o].[Website]
      FROM [Organization] AS [o]
      WHERE ([o].[DeletedDate] IS NULL) AND [o].[Uuid] = @__OrganizationId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @___currentUserExt_User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@___currentUserExt_User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @___currentUserExt_User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 50), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (DbType = Guid), @p8='?' (Size = 4000), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Guid), @p15='?' (DbType = Guid), @p16='?' (Size = 50), @p17='?' (Size = 50), @p18='?' (DbType = DateTime2), @p19='?' (DbType = Int32), @p20='?' (DbType = Int32), @p21='?' (DbType = Int32), @p22='?' (DbType = Int32), @p23='?' (DbType = Int32), @p24='?' (Size = 50), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (DbType = Guid), @p28='?' (Size = 4000), @p29='?' (DbType = Int32), @p30='?' (Size = 500), @p31='?' (Size = 4000), @p32='?' (Size = 10), @p33='?' (Size = 4000), @p34='?' (Size = 5), @p35='?' (Size = 5), @p36='?' (DbType = Guid), @p37='?' (DbType = Int32), @p38='?' (DbType = Int32), @p39='?' (Size = 4000), @p40='?' (Size = 4000), @p41='?' (Size = 4000), @p42='?' (DbType = DateTime2), @p43='?' (DbType = Guid), @p44='?' (Size = 50), @p45='?' (DbType = DateTime2), @p46='?' (DbType = Guid), @p47='?' (DbType = Guid), @p48='?' (DbType = Guid), @p49='?' (Size = 50), @p50='?' (DbType = DateTime2), @p51='?' (DbType = Int32), @p52='?' (DbType = Int32), @p53='?' (Size = 50), @p54='?' (DbType = DateTime2), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (DbType = Guid), @p58='?' (DbType = Guid), @p59='?' (Size = 50), @p60='?' (DbType = DateTime2), @p61='?' (DbType = Guid), @p62='?' (DbType = Guid), @p63='?' (Size = 50), @p64='?' (DbType = DateTime2), @p65='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (Size = 50), @p68='?' (DbType = DateTime2), @p69='?' (DbType = Boolean), @p70='?' (DbType = Boolean), @p71='?' (DbType = Guid), @p72='?' (DbType = Guid), @p73='?' (Size = 50), @p74='?' (DbType = DateTime2), @p75='?' (DbType = Guid), @p76='?' (DbType = Guid), @p77='?' (Size = 50), @p78='?' (DbType = DateTime2), @p79='?' (DbType = Int32), @p80='?' (Size = 50), @p81='?' (DbType = DateTime2), @p82='?' (DbType = Guid), @p83='?' (Size = 4000), @p84='?' (DbType = DateTime2), @p85='?' (Size = 50), @p86='?' (DbType = DateTime2), @p87='?' (DbType = Guid), @p88='?' (Size = 4000), @p89='?' (DbType = Guid), @p90='?' (DbType = Guid), @p91='?' (Size = 50), @p92='?' (DbType = DateTime2), @p93='?' (DbType = Int32), @p94='?' (DbType = Int32), @p95='?' (Size = 50), @p96='?' (DbType = DateTime2), @p97='?' (DbType = Boolean), @p98='?' (DbType = Boolean), @p99='?' (DbType = Guid), @p100='?' (DbType = Guid), @p101='?' (Size = 50), @p102='?' (DbType = DateTime2), @p103='?' (DbType = Guid), @p104='?' (DbType = Guid), @p105='?' (Size = 4000), @p106='?' (Size = 50), @p107='?' (DbType = DateTime2), @p108='?' (Size = 50), @p109='?' (DbType = DateTime2), @p110='?' (DbType = DateTime2), @p111='?' (Size = 4000), @p112='?' (Size = 50), @p113='?' (DbType = DateTime2), @p114='?' (DbType = Guid), @p115='?' (DbType = Guid), @p116='?' (Size = 50), @p117='?' (DbType = DateTime2), @p118='?' (Size = 50), @p119='?' (DbType = DateTime2), @p120='?' (Size = 10), @p121='?' (Size = 500), @p122='?' (Size = 5), @p123='?' (Size = 5), @p124='?' (Size = 50), @p125='?' (DbType = DateTime2), @p126='?' (DbType = Guid), @p127='?' (Size = 50), @p128='?' (DbType = DateTime2), @p129='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p130='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p131='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p132='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p133='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p134='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p135='?' (Size = 50), @p136='?' (DbType = DateTime2), @p137='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p138='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p139='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p140='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p141='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p142='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p143='?' (Size = 50), @p144='?' (DbType = DateTime2), @p145='?' (DbType = Guid), @p146='?' (Size = 50), @p147='?' (DbType = DateTime2), @p148='?' (DbType = Int32), @p149='?' (DbType = Int32), @p150='?' (DbType = Int32), @p151='?' (DbType = Int32), @p152='?' (DbType = Int32), @p153='?' (Size = 50), @p154='?' (DbType = DateTime2), @p155='?' (DbType = Guid), @p156='?' (DbType = Guid), @p157='?' (Size = 4000), @p158='?' (DbType = DateTime2), @p159='?' (DbType = DateTime2), @p160='?' (DbType = DateTime2), @p161='?' (DbType = Guid), @p162='?' (DbType = DateTime2), @p163='?' (Size = 50), @p164='?' (DbType = DateTime2), @p165='?' (DbType = Guid), @p166='?' (Size = 4000), @p167='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET NOCOUNT ON;
      INSERT INTO [TiepDan] ([Uuid], [CreatedBy], [CreatedDate], [DMHinhThucTiepDanId], [DeletedBy], [DeletedDate], [DiaDiemTiepDan], [FileId], [LyDoTuChoi], [NgayHenTra], [NgayTiepDan], [SoTiepNhan], [UpdatedBy], [UpdatedDate], [UserId])
      OUTPUT INSERTED.[CId], INSERTED.[IsCongDanDen], INSERTED.[IsTuChoi]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14);
      INSERT INTO [DonThu] ([Id], [Code], [CreatedBy], [CreatedDate], [DMLinhVucId], [DMLoaiDoiTuongId], [DMNhiemKyId], [DMPhanTheoNoiDungId], [DMTrungDonId], [DeletedBy], [DeletedDate], [DiaChiCoQuan], [FileId], [GhiChu], [LanThu], [Name], [NoiDungDon], [NoiGhiNhanCode], [NoiGhiNhanCuThe], [NoiGhiNhanHuyenCode], [NoiGhiNhanTinhCode], [ParentUuid], [PhanTheoDieuKien], [PhanTheoSoNguoi], [SDTCoQuan], [SoVanBan], [TenCoQuan], [ThoiGianTiepNhan], [TiepDanId], [UpdatedBy], [UpdatedDate], [UserId])
      OUTPUT INSERTED.[CID], INSERTED.[SoNguoi], INSERTED.[SoNguoiDaiDien]
      VALUES (@p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, @p46);
      INSERT INTO [TiepDanCanBoDuocUyQuyen] ([TiepDanId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate])
      VALUES (@p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60);
      INSERT INTO [TiepDanCanBoTiepNhan] ([TiepDanId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate], [UserId])
      VALUES (@p61, @p62, @p63, @p64, @p65, @p66, @p67, @p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75);
      INSERT INTO [TiepDanXuLy] ([TiepDanId], [CreatedBy], [CreatedDate], [DMXuLyTiepDanId], [DeletedBy], [DeletedDate], [FileId], [GhiChu], [NgayXuLy], [UpdatedBy], [UpdatedDate], [UserId], [YKienXuLy])
      VALUES (@p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88);
      INSERT INTO [DonThuCanBoTiepNhan] ([DonThuId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate], [UserId])
      VALUES (@p89, @p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103);
      INSERT INTO [DonThuCoQuanDaGiaiQuyet] ([DonThuId], [CoQuanDaGiaiQuyet], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NgayBanHanh], [SoVanBanDaGiaiQuyet], [UpdatedBy], [UpdatedDate])
      VALUES (@p104, @p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113);
      INSERT INTO [DonThuNguoiDungDon] ([DonThuId], [ThongTinCaNhanId], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NoiOCode], [NoiOCuThe], [NoiOHuyenCode], [NoiOTinhCode], [UpdatedBy], [UpdatedDate])
      OUTPUT INSERTED.[Loai]
      VALUES (@p114, @p115, @p116, @p117, @p118, @p119, @p120, @p121, @p122, @p123, @p124, @p125);
      INSERT INTO [DonThuThucHien] ([DonThuId], [CreatedBy], [CreatedDate], [DatDaThuNhaNuoc], [DatDaTraCongDan], [DatDaTraToChuc], [DatPhaiThuNhaNuoc], [DatPhaiTraCongDan], [DatPhaiTraToChuc], [DeletedBy], [DeletedDate], [TienDaThuNhaNuoc], [TienDaTraCongDan], [TienDaTraToChuc], [TienPhaiThuNhaNuoc], [TienPhaiTraCongDan], [TienPhaiTraToChuc], [UpdatedBy], [UpdatedDate])
      VALUES (@p126, @p127, @p128, @p129, @p130, @p131, @p132, @p133, @p134, @p135, @p136, @p137, @p138, @p139, @p140, @p141, @p142, @p143, @p144);
      INSERT INTO [DonThuXuLy] ([Id], [CreatedBy], [CreatedDate], [DMHinhThucXuLyDonId], [DMLoaiHinhTiepNhanId], [DMNhomThamQuyenGiaiQuyetId], [DMPhanTheoThamQuyenId], [DMTrangThaiXuLyDonId], [DeletedBy], [DeletedDate], [DonThuId], [FileId], [GhiChu], [NgayTiepNhan], [NgayVanBan], [NgayXuLy], [ParentUuid], [ThoiHanXuLy], [UpdatedBy], [UpdatedDate], [UserId], [VanBan], [YKienXuLy])
      OUTPUT INSERTED.[CID], INSERTED.[IsYeuCauBaoCao]
      VALUES (@p145, @p146, @p147, @p148, @p149, @p150, @p151, @p152, @p153, @p154, @p155, @p156, @p157, @p158, @p159, @p160, @p161, @p162, @p163, @p164, @p165, @p166, @p167);
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
      Error when executing service method 'AddNews'.
      System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "10.82.0.3:27017" }", EndPoint: "10.82.0.3:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 10.82.0.3:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:08:24.1742708Z", LastUpdateTimestamp: "2025-02-10T04:08:24.1742828Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "103.153.214.94:27017" }", EndPoint: "103.153.214.94:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
       ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. 103.153.214.94:27017
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2025-02-10T04:08:24.1839675Z", LastUpdateTimestamp: "2025-02-10T04:08:24.1839795Z" }, { ServerId: "{ ClusterId : 1, EndPoint : "119.82.130.75:27017" }", EndPoint: "119.82.130.75:27017", ReasonChanged: "Heartbeat", State: "Connected", ServerVersion: 7.0.0, TopologyVersion: { "processId" : ObjectId("6787518aea190cc7dec38432"), "counter" : NumberLong(4) }, Type: "ReplicaSetSecondary", WireVersionRange: "[0, 21]", LastHeartbeatTimestamp: "2025-02-10T04:08:19.7030640Z", LastUpdateTimestamp: "2025-02-10T04:08:19.7030746Z" }] }.
         at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)
         at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken cancellationToken)
         at MongoDB.Driver.Core.Operations.CreateIndexesOperation.Execute(IWriteBinding binding, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.ExecuteWriteOperation[TResult](IClientSessionHandle session, IWriteOperation`1 operation, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IClientSessionHandle session, IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.<>c__DisplayClass9_0.<CreateMany>b__0(IClientSessionHandle session)
         at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken)
         at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken)
         at Buss_Official.Services.Impl.NotifierService..ctor(IConfiguration conf, IMongoClient client) in D:\source\GDT\GDT_KNTC\backend\Buss_Official\Services\Impl\NotifierService.cs:line 15
         at lambda_method1114(Closure, IServiceProvider, Object[])
         at Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1.Create(IServiceProvider serviceProvider)
         at Grpc.Shared.Server.UnaryServerMethodInvoker`3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request)
      --- End of stack trace from previous location ---
         at Grpc.AspNetCore.Server.Internal.CallHandlers.UnaryServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
         at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__uuid_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [DonThu] AS [d]
              WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__uuid_0) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Name]
      FROM [AspNetUserRoles] AS [a]
      INNER JOIN (
          SELECT [a0].[Uuid], [a0].[Name]
          FROM [AspNetRoles] AS [a0]
          WHERE [a0].[DeletedDate] IS NULL
      ) AS [t] ON [a].[RoleId] = [t].[Uuid]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[Icon], [t0].[IsPublic], [t0].[Label], [t0].[Link], [t0].[Ordinal], [t0].[ParentUuid], [t0].[UpdatedBy], [t0].[UpdatedDate]
      FROM [AspNetRoles] AS [a]
      INNER JOIN (
          SELECT [t].[Uuid], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DeletedBy], [t].[DeletedDate], [t].[Icon], [t].[IsPublic], [t].[Label], [t].[Link], [t].[Ordinal], [t].[ParentUuid], [t].[UpdatedBy], [t].[UpdatedDate], [m].[RolesId]
          FROM [MenuRole] AS [m]
          INNER JOIN (
              SELECT [m0].[Uuid], [m0].[CId], [m0].[CreatedBy], [m0].[CreatedDate], [m0].[DeletedBy], [m0].[DeletedDate], [m0].[Icon], [m0].[IsPublic], [m0].[Label], [m0].[Link], [m0].[Ordinal], [m0].[ParentUuid], [m0].[UpdatedBy], [m0].[UpdatedDate]
              FROM [Menu] AS [m0]
              WHERE [m0].[DeletedDate] IS NULL
          ) AS [t] ON [m].[MenusId] = [t].[Uuid]
      ) AS [t0] ON [a].[Uuid] = [t0].[RolesId]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Name] = N'Van thu'
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMNhiemKy] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_5='?' (DbType = Int32), @___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean), @__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_5) [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DMChucVuId], [t0].[DMPhongBanId], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[OrganizationId], [t0].[ThongTinCaNhanId], [t0].[TrangThai], [t0].[UpdatedBy], [t0].[UpdatedDate], [t0].[UserId]
      FROM (
          SELECT [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
          FROM [CanBo] AS [c]
          INNER JOIN (
              SELECT [d].[Id], [d].[IsLanhDao]
              FROM [DMChucVu] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
          WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
          ORDER BY [c].[Uuid]
          OFFSET @__TypedProperty_3 ROWS FETCH NEXT @__TypedProperty_4 ROWS ONLY
      ) AS [t0]
      ORDER BY [t0].[Uuid]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [CanBo] AS [c]
      INNER JOIN (
          SELECT [d].[Id], [d].[IsLanhDao]
          FROM [DMChucVu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
      WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_5='?' (DbType = Int32), @___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean), @__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_5) [t0].[Uuid], [t0].[CId], [t0].[CreatedBy], [t0].[CreatedDate], [t0].[DMChucVuId], [t0].[DMPhongBanId], [t0].[DeletedBy], [t0].[DeletedDate], [t0].[OrganizationId], [t0].[ThongTinCaNhanId], [t0].[TrangThai], [t0].[UpdatedBy], [t0].[UpdatedDate], [t0].[UserId]
      FROM (
          SELECT [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
          FROM [CanBo] AS [c]
          INNER JOIN (
              SELECT [d].[Id], [d].[IsLanhDao]
              FROM [DMChucVu] AS [d]
              WHERE [d].[DeletedDate] IS NULL
          ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
          WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
          ORDER BY [c].[Uuid]
          OFFSET @__TypedProperty_3 ROWS FETCH NEXT @__TypedProperty_4 ROWS ONLY
      ) AS [t0]
      ORDER BY [t0].[Uuid]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUser_OrganizationId_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Boolean)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [CanBo] AS [c]
      INNER JOIN (
          SELECT [d].[Id], [d].[IsLanhDao]
          FROM [DMChucVu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t] ON [c].[DMChucVuId] = [t].[Id]
      WHERE [c].[TrangThai] = 1 AND [c].[OrganizationId] = @___currentUser_OrganizationId_0 AND [t].[IsLanhDao] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t0].[Uuid], [t0].[SoDinhDanh], [t0].[HoVaTenDem], [t0].[Ten], [t0].[GioiTinh], [t0].[DienThoai], [t0].[Email]
      FROM (
          SELECT [t].[Uuid], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[SoDinhDanh], [t].[Ten]
          FROM [ThongTinCaNhan] AS [t]
          WHERE [t].[DeletedDate] IS NULL
          ORDER BY [t].[Uuid]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t0]
      ORDER BY [t0].[Uuid]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [ThongTinCaNhan] AS [t]
      WHERE [t].[DeletedDate] IS NULL
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMXuLyTiepDan] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMPhanTheoNoiDung] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLinhVuc] AS [d]
      WHERE [d].[DeletedDate] IS NULL
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      ------WebKitFormBoundarygMxpBh0r7XdYnEpl
      Content-Disposition: form-data; name="key"
      
      8a4ed46f-f0c3-40ee-864b-fe2593953c79
      ------WebKitFormBoundarygMxpBh0r7XdYnEpl
      Content-Disposition: form-data; name="loaiVanBan"
      
      ATTACH
      ------WebKitFormBoundarygMxpBh0r7XdYnEpl
      Content-Disposition: form-data; name="file"; filename="Qd 5021 sap nhap.pdf"
      Content-Type: application/pdf
      
      %PDF-1.3
%?????????
3 0 obj
<< /Filter /FlateDecode /Length 96 >>
stream
x%?;?0?S?m?64?,l?1 Q??
????~\?y9?g?p?u???:P??vU2C?~(?~???F'??B??.q`j~*??/?W?
endstream
endobj
1 0 obj
<< /Type /Page /Parent 2 0 R /Resources 4 0 R /Contents 3 0 R /MediaBox [0 0 595 842]
/Rotate 0 /Annots 7 0 R >>
endobj
4 0 obj
<< /ProcSet [ /PDF /ImageB /ImageC /ImageI ] /XObject << /Im1 5 0 R /Im2 6 0 R
>> >>
endobj
7 0 obj
[ 8 0 R ]
endobj
5 0 obj
<< /Type /XObject /Subtype /Image /Width 1359 /Height 2044 /Interpolate true
/ColorSpace 9 0 R /Intent /Perceptual /BitsPerComponent 8 /Length 612662 /Filter
/DCTDecode >>
stream
?????(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??(??????(??(??(??(??(??(??(??(??(??(??(??(??(????0<?j??????
?M-P??_X???M6???2?7?V????q??-?f+??O?????W?'???H[?9~???\?=x?
?eUU?	M$????r?????c??a~?wQ'??X?o-??????[>???+=F???O??$??fy?U»??-????^???_<G?????	C[j??$?NC????k?_O??o?T???/`1F9$!,a???????RkOX?$lXB?;????{?o
?W1?_???info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      ------WebKitFormBoundaryVkfVMZXiIEh5ejAa
      Content-Disposition: form-data; name="key"
      
      15179b0c-e39f-4f65-ba80-03acb4308015
      ------WebKitFormBoundaryVkfVMZXiIEh5ejAa
      Content-Disposition: form-data; name="loaiVanBan"
      
      HANDLE
      ------WebKitFormBoundaryVkfVMZXiIEh5ejAa
      Content-Disposition: form-data; name="file"; filename="Gi?y biên nh?n.pdf"
      Content-Type: application/pdf
      
      %PDF-1.4
1 0 obj
<<
/Title (??)
/Creator (??J?2??1??#Tt?;?\?j??3p7?????,?q???#????%B9?Zuk|V??f
???D???;Pl???r?????,??5????CZIb??$u#?R?}9????H?.?D??B?I??k-ojq7?????\?d?QJs???G;;+???u???VZ?s????}???Q???
yp?&
s????#?ì??{????8?3?lX??\Pm?P???J\? ?(?D???x	[h??V!e?[?$?&z???P>?)_{?L?K??%?-z?$O?`V;?O?rl???T????,?=?0??S4{
??[0???-???(????v??;??????O??~??K?9??8??W_??????|??r??*y?"??<!d.|? 3?	?.7??P??B??!S?^?8O?xD
T"H?p???i???g??
^?$?`???eWT???$?`?V??]?g???n??
?~?F??/?+??}V6??g?Q??a?Lo?X??Q???b?j?X???._??2YU?????|?J???[A?AM?Z$:??????.j?{b????4*Yo\???~??{??
??f????<k?%?}??$?.??j??r^?,?~U?x??>?=??=??,??V??2?4?T?????k???z?Ñ????nLm1?????)?NreB3?(+??[wM???y??53}??A??T????vMAx????!??fdr?=???c??6??????5???](4?6?????wwC@?U???-}[u]`s?
?u{pt?z?@O+?R????h???g?8?t%??p/???????:???Rs3?}?
k?Zm??d?5S2??B?P??tu?z?n?in?q???#?]{{?}??m#?{????H,????w??USP^? ?????=9?mm??/? +??:@,???:?S/K?n]I?r?{?k(o?????bt?H????J???????,q?L????&CR[?7??A??!k9??????
?;??_CH%-[???[S?:S???K??5?YI????[?k?xz?G?K%???-U@ns?rj??U???j?\???????$8C?C`?ln;?8?9d?oL????5:?rJ?&y??U?;)5?~??W?c?La/dM[qV?f&7?????Q??F???W??Z{?N????OH2?rek?%J?e?CV?|??n?)??z???al???y?;X???????s???B?<?0o?N??[?W??Bff??>???;?6|???@p-a	`?3{_.(2W???8W?M[,???l?????MMU64"?????R?????>?*#S?????
??=???????}?>??-=?q?%?KmP?~?????:info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
      {"donThuNguoiDungDons":[{"thongTinCaNhanId":"1eaf1cb5-6f0e-4e5e-aaca-011ecec1e306","loai":"DUNGDON"}],"fileId":"8a4ed46f-f0c3-40ee-864b-fe2593953c79","tiepDan":{"soTiepNhan":"igigigg","ngayTiepDan":"2025-02-10T11:14:49+07:00","ngayHenTra":"2025-02-20T11:14:49+07:00","dmHinhThucTiepDanId":1,"tiepDanXuLy":{"ngayXuLy":"2025-02-10T11:14:49+07:00","dmXuLyTiepDanId":3,"yKienXuLy":"zxzlsdasdas"},"fileId":"15179b0c-e39f-4f65-ba80-03acb4308015","tiepDanCanBoDuocUyQuyen":{"canBoId":"0a7c3106-63b7-450c-850b-6bd4e418984b"}},"phanTheoSoNguoi":"Mot","dmNhiemKyId":11,"dmPhanTheoNoiDungId":2,"dmLinhVucId":74,"phanTheoDieuKien":"DuDieuKien","noiDungDon":"ádadasd","dmLoaiDoiTuongId":3,"thoiGianTiepNhan":"2025-02-10T11:14:49+07:00","donThuXuLys":[{"ngayTiepNhan":"2025-02-10T11:14:49+07:00","fileId":"00a9a908-79ba-4705-981c-86b46ca7dd73","dmLoaiHinhTiepNhanId":2}],"noiGhiNhanTinhCode":"52","noiGhiNhanHuyenCode":"540","noiGhiNhanCode":"21571"}
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__OrganizationId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(2) [o].[Uuid], [o].[CId], [o].[Code], [o].[CreatedBy], [o].[CreatedDate], [o].[DMCapHanhChinhId], [o].[DMHuyenCode], [o].[DMTinhCode], [o].[DMXaCode], [o].[DeletedBy], [o].[DeletedDate], [o].[Email], [o].[Fax], [o].[OrganAdd], [o].[OrganId], [o].[OrganName], [o].[OrganizationInChargeId], [o].[State], [o].[Telephone], [o].[UpdatedBy], [o].[UpdatedDate], [o].[Website]
      FROM [Organization] AS [o]
      WHERE ([o].[DeletedDate] IS NULL) AND [o].[Uuid] = @__OrganizationId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @___currentUserExt_User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[IsLanhDao], [d].[IsThuTruong], [d].[Name], [d].[OrganizationId], [d].[Rank], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMChucVu] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@___currentUserExt_User_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[UserId] = @___currentUserExt_User_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [c].[Uuid], [c].[CId], [c].[CreatedBy], [c].[CreatedDate], [c].[DMChucVuId], [c].[DMPhongBanId], [c].[DeletedBy], [c].[DeletedDate], [c].[OrganizationId], [c].[ThongTinCaNhanId], [c].[TrangThai], [c].[UpdatedBy], [c].[UpdatedDate], [c].[UserId]
      FROM [CanBo] AS [c]
      WHERE [c].[TrangThai] = 1 AND [c].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (10ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 50), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (DbType = Guid), @p8='?' (Size = 4000), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Guid), @p15='?' (DbType = Guid), @p16='?' (Size = 50), @p17='?' (Size = 50), @p18='?' (DbType = DateTime2), @p19='?' (DbType = Int32), @p20='?' (DbType = Int32), @p21='?' (DbType = Int32), @p22='?' (DbType = Int32), @p23='?' (DbType = Int32), @p24='?' (Size = 50), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (DbType = Guid), @p28='?' (Size = 4000), @p29='?' (DbType = Int32), @p30='?' (Size = 500), @p31='?' (Size = 4000), @p32='?' (Size = 10), @p33='?' (Size = 4000), @p34='?' (Size = 5), @p35='?' (Size = 5), @p36='?' (DbType = Guid), @p37='?' (DbType = Int32), @p38='?' (DbType = Int32), @p39='?' (Size = 4000), @p40='?' (Size = 4000), @p41='?' (Size = 4000), @p42='?' (DbType = DateTime2), @p43='?' (DbType = Guid), @p44='?' (Size = 50), @p45='?' (DbType = DateTime2), @p46='?' (DbType = Guid), @p47='?' (DbType = Guid), @p48='?' (DbType = Guid), @p49='?' (Size = 50), @p50='?' (DbType = DateTime2), @p51='?' (DbType = Int32), @p52='?' (DbType = Int32), @p53='?' (Size = 50), @p54='?' (DbType = DateTime2), @p55='?' (DbType = Boolean), @p56='?' (DbType = Boolean), @p57='?' (DbType = Guid), @p58='?' (DbType = Guid), @p59='?' (Size = 50), @p60='?' (DbType = DateTime2), @p61='?' (DbType = Guid), @p62='?' (DbType = Guid), @p63='?' (Size = 50), @p64='?' (DbType = DateTime2), @p65='?' (DbType = Int32), @p66='?' (DbType = Int32), @p67='?' (Size = 50), @p68='?' (DbType = DateTime2), @p69='?' (DbType = Boolean), @p70='?' (DbType = Boolean), @p71='?' (DbType = Guid), @p72='?' (DbType = Guid), @p73='?' (Size = 50), @p74='?' (DbType = DateTime2), @p75='?' (DbType = Guid), @p76='?' (DbType = Guid), @p77='?' (Size = 50), @p78='?' (DbType = DateTime2), @p79='?' (DbType = Int32), @p80='?' (Size = 50), @p81='?' (DbType = DateTime2), @p82='?' (DbType = Guid), @p83='?' (Size = 4000), @p84='?' (DbType = DateTime2), @p85='?' (Size = 50), @p86='?' (DbType = DateTime2), @p87='?' (DbType = Guid), @p88='?' (Size = 4000), @p89='?' (DbType = Guid), @p90='?' (DbType = Guid), @p91='?' (Size = 50), @p92='?' (DbType = DateTime2), @p93='?' (DbType = Int32), @p94='?' (DbType = Int32), @p95='?' (Size = 50), @p96='?' (DbType = DateTime2), @p97='?' (DbType = Boolean), @p98='?' (DbType = Boolean), @p99='?' (DbType = Guid), @p100='?' (DbType = Guid), @p101='?' (Size = 50), @p102='?' (DbType = DateTime2), @p103='?' (DbType = Guid), @p104='?' (DbType = Guid), @p105='?' (Size = 4000), @p106='?' (Size = 50), @p107='?' (DbType = DateTime2), @p108='?' (Size = 50), @p109='?' (DbType = DateTime2), @p110='?' (DbType = DateTime2), @p111='?' (Size = 4000), @p112='?' (Size = 50), @p113='?' (DbType = DateTime2), @p114='?' (DbType = Guid), @p115='?' (DbType = Guid), @p116='?' (Size = 50), @p117='?' (DbType = DateTime2), @p118='?' (Size = 50), @p119='?' (DbType = DateTime2), @p120='?' (Size = 10), @p121='?' (Size = 500), @p122='?' (Size = 5), @p123='?' (Size = 5), @p124='?' (Size = 50), @p125='?' (DbType = DateTime2), @p126='?' (DbType = Guid), @p127='?' (Size = 50), @p128='?' (DbType = DateTime2), @p129='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p130='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p131='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p132='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p133='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p134='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p135='?' (Size = 50), @p136='?' (DbType = DateTime2), @p137='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p138='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p139='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p140='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p141='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p142='?' (Precision = 18) (Scale = 4) (DbType = Decimal), @p143='?' (Size = 50), @p144='?' (DbType = DateTime2), @p145='?' (DbType = Guid), @p146='?' (Size = 50), @p147='?' (DbType = DateTime2), @p148='?' (DbType = Int32), @p149='?' (DbType = Int32), @p150='?' (DbType = Int32), @p151='?' (DbType = Int32), @p152='?' (DbType = Int32), @p153='?' (Size = 50), @p154='?' (DbType = DateTime2), @p155='?' (DbType = Guid), @p156='?' (DbType = Guid), @p157='?' (Size = 4000), @p158='?' (DbType = DateTime2), @p159='?' (DbType = DateTime2), @p160='?' (DbType = DateTime2), @p161='?' (DbType = Guid), @p162='?' (DbType = DateTime2), @p163='?' (Size = 50), @p164='?' (DbType = DateTime2), @p165='?' (DbType = Guid), @p166='?' (Size = 4000), @p167='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET NOCOUNT ON;
      INSERT INTO [TiepDan] ([Uuid], [CreatedBy], [CreatedDate], [DMHinhThucTiepDanId], [DeletedBy], [DeletedDate], [DiaDiemTiepDan], [FileId], [LyDoTuChoi], [NgayHenTra], [NgayTiepDan], [SoTiepNhan], [UpdatedBy], [UpdatedDate], [UserId])
      OUTPUT INSERTED.[CId], INSERTED.[IsCongDanDen], INSERTED.[IsTuChoi]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14);
      INSERT INTO [DonThu] ([Id], [Code], [CreatedBy], [CreatedDate], [DMLinhVucId], [DMLoaiDoiTuongId], [DMNhiemKyId], [DMPhanTheoNoiDungId], [DMTrungDonId], [DeletedBy], [DeletedDate], [DiaChiCoQuan], [FileId], [GhiChu], [LanThu], [Name], [NoiDungDon], [NoiGhiNhanCode], [NoiGhiNhanCuThe], [NoiGhiNhanHuyenCode], [NoiGhiNhanTinhCode], [ParentUuid], [PhanTheoDieuKien], [PhanTheoSoNguoi], [SDTCoQuan], [SoVanBan], [TenCoQuan], [ThoiGianTiepNhan], [TiepDanId], [UpdatedBy], [UpdatedDate], [UserId])
      OUTPUT INSERTED.[CID], INSERTED.[SoNguoi], INSERTED.[SoNguoiDaiDien]
      VALUES (@p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43, @p44, @p45, @p46);
      INSERT INTO [TiepDanCanBoDuocUyQuyen] ([TiepDanId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate])
      VALUES (@p47, @p48, @p49, @p50, @p51, @p52, @p53, @p54, @p55, @p56, @p57, @p58, @p59, @p60);
      INSERT INTO [TiepDanCanBoTiepNhan] ([TiepDanId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate], [UserId])
      VALUES (@p61, @p62, @p63, @p64, @p65, @p66, @p67, @p68, @p69, @p70, @p71, @p72, @p73, @p74, @p75);
      INSERT INTO [TiepDanXuLy] ([TiepDanId], [CreatedBy], [CreatedDate], [DMXuLyTiepDanId], [DeletedBy], [DeletedDate], [FileId], [GhiChu], [NgayXuLy], [UpdatedBy], [UpdatedDate], [UserId], [YKienXuLy])
      VALUES (@p76, @p77, @p78, @p79, @p80, @p81, @p82, @p83, @p84, @p85, @p86, @p87, @p88);
      INSERT INTO [DonThuCanBoTiepNhan] ([DonThuId], [CanBoId], [CreatedBy], [CreatedDate], [DMChucVuId], [DMPhongBanId], [DeletedBy], [DeletedDate], [IsLanhDao], [IsThuTruong], [OrganizationId], [ThongTinCaNhanId], [UpdatedBy], [UpdatedDate], [UserId])
      VALUES (@p89, @p90, @p91, @p92, @p93, @p94, @p95, @p96, @p97, @p98, @p99, @p100, @p101, @p102, @p103);
      INSERT INTO [DonThuCoQuanDaGiaiQuyet] ([DonThuId], [CoQuanDaGiaiQuyet], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NgayBanHanh], [SoVanBanDaGiaiQuyet], [UpdatedBy], [UpdatedDate])
      VALUES (@p104, @p105, @p106, @p107, @p108, @p109, @p110, @p111, @p112, @p113);
      INSERT INTO [DonThuNguoiDungDon] ([DonThuId], [ThongTinCaNhanId], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [NoiOCode], [NoiOCuThe], [NoiOHuyenCode], [NoiOTinhCode], [UpdatedBy], [UpdatedDate])
      OUTPUT INSERTED.[Loai]
      VALUES (@p114, @p115, @p116, @p117, @p118, @p119, @p120, @p121, @p122, @p123, @p124, @p125);
      INSERT INTO [DonThuThucHien] ([DonThuId], [CreatedBy], [CreatedDate], [DatDaThuNhaNuoc], [DatDaTraCongDan], [DatDaTraToChuc], [DatPhaiThuNhaNuoc], [DatPhaiTraCongDan], [DatPhaiTraToChuc], [DeletedBy], [DeletedDate], [TienDaThuNhaNuoc], [TienDaTraCongDan], [TienDaTraToChuc], [TienPhaiThuNhaNuoc], [TienPhaiTraCongDan], [TienPhaiTraToChuc], [UpdatedBy], [UpdatedDate])
      VALUES (@p126, @p127, @p128, @p129, @p130, @p131, @p132, @p133, @p134, @p135, @p136, @p137, @p138, @p139, @p140, @p141, @p142, @p143, @p144);
      INSERT INTO [DonThuXuLy] ([Id], [CreatedBy], [CreatedDate], [DMHinhThucXuLyDonId], [DMLoaiHinhTiepNhanId], [DMNhomThamQuyenGiaiQuyetId], [DMPhanTheoThamQuyenId], [DMTrangThaiXuLyDonId], [DeletedBy], [DeletedDate], [DonThuId], [FileId], [GhiChu], [NgayTiepNhan], [NgayVanBan], [NgayXuLy], [ParentUuid], [ThoiHanXuLy], [UpdatedBy], [UpdatedDate], [UserId], [VanBan], [YKienXuLy])
      OUTPUT INSERTED.[CID], INSERTED.[IsYeuCauBaoCao]
      VALUES (@p145, @p146, @p147, @p148, @p149, @p150, @p151, @p152, @p153, @p154, @p155, @p156, @p157, @p158, @p159, @p160, @p161, @p162, @p163, @p164, @p165, @p166, @p167);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (DbType = DateTime2), @p2='?' (Size = 50), @p3='?' (DbType = DateTime2), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (DbType = Boolean), @p9='?' (Size = 4000), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 50), @p15='?' (DbType = DateTime2), @p16='?' (DbType = Guid), @p17='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [LogAction] ([Uuid], [AtTime], [CreatedBy], [CreatedDate], [DeletedBy], [DeletedDate], [Endpoint], [IpAddress], [IsSuccessed], [Methods], [OrganizationId], [Request], [Response], [Summary], [UpdatedBy], [UpdatedDate], [UserId], [UserName])
      OUTPUT INSERTED.[CId]
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32), @__TypedProperty_3='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Name]
      FROM [DMLoaiDoiTuong] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[DMPhanTheoNoiDungId] = @__TypedProperty_0
      ORDER BY [d].[Id]
      OFFSET @__TypedProperty_2 ROWS FETCH NEXT @__TypedProperty_3 ROWS ONLY
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (18ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (17ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (12ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (20ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (10ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Uuid], [a].[AccessFailedCount], [a].[Activated], [a].[Avatar], [a].[CId], [a].[Changed], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedDate], [a].[DeletedBy], [a].[DeletedDate], [a].[DisplayName], [a].[Email], [a].[EmailConfirmed], [a].[IsLGSP], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[OrganizationId], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UpdatedDate], [a].[UserName]
      FROM [AspNetUsers] AS [a]
      WHERE ([a].[DeletedDate] IS NULL) AND [a].[Uuid] = @__get_Item_0
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (8ms) [Parameters=[@__TypedProperty_13='?' (DbType = Int32), @__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_11='?' (DbType = Int32), @__TypedProperty_12='?' (DbType = Int32), @__TypedProperty_4='?' (DbType = Int32), @__TypedProperty_7='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[Id], [t7].[CID], [t7].[CreatedBy], [t7].[CreatedDate], [t7].[DMHinhThucXuLyDonId], [t7].[DMLoaiHinhTiepNhanId], [t7].[DMNhomThamQuyenGiaiQuyetId], [t7].[DMPhanTheoThamQuyenId], [t7].[DMTrangThaiXuLyDonId], [t7].[DeletedBy], [t7].[DeletedDate], [t7].[DonThuId], [t7].[FileId], [t7].[GhiChu], [t7].[IsYeuCauBaoCao], [t7].[NgayTiepNhan], [t7].[NgayVanBan], [t7].[NgayXuLy], [t7].[ParentUuid], [t7].[ThoiHanXuLy], [t7].[UpdatedBy], [t7].[UpdatedDate], [t7].[UserId], [t7].[VanBan], [t7].[YKienXuLy], [t3].[Name], CASE
          WHEN [t3].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t9].[DonThuId], [t9].[ThongTinCaNhanId], [t9].[CreatedBy], [t9].[CreatedDate], [t9].[DeletedBy], [t9].[DeletedDate], [t9].[Loai], [t9].[NoiOCode], [t9].[NoiOCuThe], [t9].[NoiOHuyenCode], [t9].[NoiOTinhCode], [t9].[UpdatedBy], [t9].[UpdatedDate], [t2].[Code], [t2].[NoiDungDon], [t6].[Name], [t4].[NgayXuLy], [t4].[DMXuLyTiepDanId], CASE
          WHEN [t6].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, CASE
          WHEN [t4].[TiepDanId] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END, [t1].[IsTuChoi], [t1].[NgayTiepDan], CASE
          WHEN [t2].[Id] IS NULL THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
      FROM (
          SELECT TOP(@__TypedProperty_13) [t0].[Uuid], [t0].[IsTuChoi], [t0].[NgayTiepDan]
          FROM (
              SELECT [t].[Uuid], [t].[IsTuChoi], [t].[NgayTiepDan]
              FROM [TiepDan] AS [t]
              WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
              ORDER BY [t].[NgayTiepDan] DESC, [t].[Uuid]
              OFFSET @__TypedProperty_11 ROWS FETCH NEXT @__TypedProperty_12 ROWS ONLY
          ) AS [t0]
          ORDER BY [t0].[NgayTiepDan] DESC, [t0].[Uuid]
      ) AS [t1]
      LEFT JOIN (
          SELECT [d].[Id], [d].[Code], [d].[DMPhanTheoNoiDungId], [d].[NoiDungDon], [d].[TiepDanId]
          FROM [DonThu] AS [d]
          WHERE [d].[DeletedDate] IS NULL
      ) AS [t2] ON [t1].[Uuid] = [t2].[TiepDanId]
      LEFT JOIN (
          SELECT [d0].[Id], [d0].[Name]
          FROM [DMPhanTheoNoiDung] AS [d0]
          WHERE [d0].[DeletedDate] IS NULL
      ) AS [t3] ON [t2].[DMPhanTheoNoiDungId] = [t3].[Id]
      LEFT JOIN (
          SELECT [t5].[TiepDanId], [t5].[DMXuLyTiepDanId], [t5].[NgayXuLy]
          FROM [TiepDanXuLy] AS [t5]
          WHERE [t5].[DeletedDate] IS NULL
      ) AS [t4] ON [t1].[Uuid] = [t4].[TiepDanId]
      LEFT JOIN (
          SELECT [d1].[Id], [d1].[Name]
          FROM [DMXuLyTiepDan] AS [d1]
          WHERE [d1].[DeletedDate] IS NULL
      ) AS [t6] ON [t4].[DMXuLyTiepDanId] = [t6].[Id]
      LEFT JOIN (
          SELECT [t8].[Id], [t8].[CID], [t8].[CreatedBy], [t8].[CreatedDate], [t8].[DMHinhThucXuLyDonId], [t8].[DMLoaiHinhTiepNhanId], [t8].[DMNhomThamQuyenGiaiQuyetId], [t8].[DMPhanTheoThamQuyenId], [t8].[DMTrangThaiXuLyDonId], [t8].[DeletedBy], [t8].[DeletedDate], [t8].[DonThuId], [t8].[FileId], [t8].[GhiChu], [t8].[IsYeuCauBaoCao], [t8].[NgayTiepNhan], [t8].[NgayVanBan], [t8].[NgayXuLy], [t8].[ParentUuid], [t8].[ThoiHanXuLy], [t8].[UpdatedBy], [t8].[UpdatedDate], [t8].[UserId], [t8].[VanBan], [t8].[YKienXuLy]
          FROM (
              SELECT [d2].[Id], [d2].[CID], [d2].[CreatedBy], [d2].[CreatedDate], [d2].[DMHinhThucXuLyDonId], [d2].[DMLoaiHinhTiepNhanId], [d2].[DMNhomThamQuyenGiaiQuyetId], [d2].[DMPhanTheoThamQuyenId], [d2].[DMTrangThaiXuLyDonId], [d2].[DeletedBy], [d2].[DeletedDate], [d2].[DonThuId], [d2].[FileId], [d2].[GhiChu], [d2].[IsYeuCauBaoCao], [d2].[NgayTiepNhan], [d2].[NgayVanBan], [d2].[NgayXuLy], [d2].[ParentUuid], [d2].[ThoiHanXuLy], [d2].[UpdatedBy], [d2].[UpdatedDate], [d2].[UserId], [d2].[VanBan], [d2].[YKienXuLy], ROW_NUMBER() OVER(PARTITION BY [d2].[DonThuId] ORDER BY [d2].[Id]) AS [row]
              FROM [DonThuXuLy] AS [d2]
              WHERE [d2].[DeletedDate] IS NULL
          ) AS [t8]
          WHERE [t8].[row] <= @__TypedProperty_4
      ) AS [t7] ON [t2].[Id] = [t7].[DonThuId]
      LEFT JOIN (
          SELECT [t10].[DonThuId], [t10].[ThongTinCaNhanId], [t10].[CreatedBy], [t10].[CreatedDate], [t10].[DeletedBy], [t10].[DeletedDate], [t10].[Loai], [t10].[NoiOCode], [t10].[NoiOCuThe], [t10].[NoiOHuyenCode], [t10].[NoiOTinhCode], [t10].[UpdatedBy], [t10].[UpdatedDate]
          FROM (
              SELECT [d3].[DonThuId], [d3].[ThongTinCaNhanId], [d3].[CreatedBy], [d3].[CreatedDate], [d3].[DeletedBy], [d3].[DeletedDate], [d3].[Loai], [d3].[NoiOCode], [d3].[NoiOCuThe], [d3].[NoiOHuyenCode], [d3].[NoiOTinhCode], [d3].[UpdatedBy], [d3].[UpdatedDate], ROW_NUMBER() OVER(PARTITION BY [d3].[DonThuId] ORDER BY [d3].[DonThuId], [d3].[ThongTinCaNhanId]) AS [row]
              FROM [DonThuNguoiDungDon] AS [d3]
              WHERE [d3].[DeletedDate] IS NULL
          ) AS [t10]
          WHERE [t10].[row] <= @__TypedProperty_7
      ) AS [t9] ON [t2].[Id] = [t9].[DonThuId]
      ORDER BY [t1].[NgayTiepDan] DESC, [t1].[Uuid], [t2].[Id], [t3].[Id], [t4].[TiepDanId], [t6].[Id], [t7].[DonThuId], [t7].[Id], [t9].[DonThuId], [t9].[ThongTinCaNhanId]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [d].[Id], [d].[Code], [d].[CreatedBy], [d].[CreatedDate], [d].[DeletedBy], [d].[DeletedDate], [d].[Name], [d].[UpdatedBy], [d].[UpdatedDate]
      FROM [DMLoaiHinhTiepNhan] AS [d]
      WHERE ([d].[DeletedDate] IS NULL) AND [d].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [t].[Uuid], [t].[CCCD], [t].[CId], [t].[CreatedBy], [t].[CreatedDate], [t].[DanTocId], [t].[DeletedBy], [t].[DeletedDate], [t].[DienThoai], [t].[Email], [t].[GioiTinh], [t].[HoVaTenDem], [t].[NgayCap], [t].[NoiCapCuThe], [t].[QueQuanCode], [t].[QueQuanCuThe], [t].[QueQuanHuyenCode], [t].[QueQuanTinhCode], [t].[QuocTichId], [t].[SoDinhDanh], [t].[Ten], [t].[ThuongTruCode], [t].[ThuongTruCuThe], [t].[ThuongTruHuyenCode], [t].[ThuongTruTinhCode], [t].[UpdatedBy], [t].[UpdatedDate]
      FROM [ThongTinCaNhan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[Uuid] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__currentUser_User_Id_Value_0='?' (DbType = Guid), @__TypedProperty_1='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT COUNT_BIG(*)
      FROM [TiepDan] AS [t]
      WHERE ([t].[DeletedDate] IS NULL) AND [t].[UserId] = @__currentUser_User_Id_Value_0 AND [t].[DMHinhThucTiepDanId] = @__TypedProperty_1
info: GDT.Lib.WebApi.Middleware.LogMiddleware[0]
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...