leiy преди 1 година
родител
ревизия
5fda6451c3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      OASystem/OASystem.Infrastructure/Repositories/Groups/InvertedListRepository.cs

+ 1 - 1
OASystem/OASystem.Infrastructure/Repositories/Groups/InvertedListRepository.cs

@@ -85,8 +85,8 @@ namespace OASystem.Infrastructure.Repositories.Groups
 
             if (info == null) {
 
-                info.IsQuery = true;
                 info = new InvertedListInfoView();
+                info.IsQuery = true;
 
                 var groupInfo = await _sqlSugar.Queryable<Grp_DelegationInfo>().Where(it => it.IsDel == 0 && it.Id == diId).FirstAsync();
                 if (groupInfo == null)