2 İşlemeler 101b6ad16a ... a515f4d4c4

Yazar SHA1 Mesaj Tarih
  yuanrf a515f4d4c4 Merge branch 'develop' of http://132.232.92.186:3000/XinXiBu/OA2023 into develop 3 hafta önce
  yuanrf d410be32a8 地接 bug fix 3 hafta önce

+ 1 - 3
OASystem/OASystem.Infrastructure/Repositories/Groups/CarTouristGuideGroundRepository.cs

@@ -1172,8 +1172,6 @@ namespace OASystem.Infrastructure.Repositories.Groups
                     }
                 }
 
-                Regex regex = new Regex("^[\u4e00-\u9fa5]{0,}$");
-
                 //城市税排除计算
                 var excludeList = new List<int>(); // { 1452  }
 
@@ -1183,7 +1181,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
                 c.PaymentCurrency = dto.Currency;
                 for (int i = 0; i < dto.SelectCheck.Count; i++)
                 {
-                    if (!regex.IsMatch(dto.SelectCheck[i]))
+                    if (int.TryParse(dto.SelectCheck[i], out _))
                     {
                         for (int j = 0; j < carTouristList.Count; j++)
                         {