Explorar o código

完善成本签证费用

yuanrf hai 1 ano
pai
achega
6b70d3b194
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      OASystem/OASystem.Api/Controllers/GroupsController.cs

+ 1 - 1
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -5123,7 +5123,7 @@ namespace OASystem.API.Controllers
                     spArr = countryArr.Split("、");
                 }
 
-                foreach (var item in spArr)
+                foreach (var item in spArr.Where(x=>!string.IsNullOrWhiteSpace(x)).ToList())
                 {
                    var dbQueryCountry = _sqlSugar.Queryable<Res_CountryFeeCost>().First(x => x.VisaCountry.Contains(item));
                     if (dbQueryCountry != null)