leiy 1 anno fa
parent
commit
8a3e95c075

+ 0 - 2
OASystem/OASystem.Infrastructure/Repositories/Groups/HotelPriceRepository.cs

@@ -1044,8 +1044,6 @@ namespace OASystem.Infrastructure.Repositories.Groups
                 {
                     _result.Msg = "请输入正确的数据Id!";
                 }
-
-
             }
             else
             {

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

@@ -84,6 +84,8 @@ namespace OASystem.Infrastructure.Repositories.Groups
             var info = await _sqlSugar.SqlQueryable<InvertedListInfoView>(sql).FirstAsync();
 
             if (info == null) {
+
+                info.IsQuery = true;
                 info = new InvertedListInfoView();
 
                 var groupInfo = await _sqlSugar.Queryable<Grp_DelegationInfo>().Where(it => it.IsDel == 0 && it.Id == diId).FirstAsync();
@@ -126,7 +128,6 @@ namespace OASystem.Infrastructure.Repositories.Groups
                 return _result; 
             }
 
-            info.IsQuery = true;
             int ilId = info.Id;
 
             string visaSql = string.Format(@$"Select * From Grp_InvertedListVisaCountry Where Isdel={0} And ILId = {ilId}");