leiy 11 months ago
parent
commit
5fda6451c3

+ 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)