Quellcode durchsuchen

完善成本签证费用

yuanrf vor 1 Jahr
Ursprung
Commit
6b70d3b194
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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)