Bläddra i källkod

团组报表修改

jiangjc 10 månader sedan
förälder
incheckning
a260de5fde

+ 8 - 17
OASystem/OASystem.Api/Controllers/StatisticsController.cs

@@ -773,15 +773,6 @@ namespace OASystem.API.Controllers
                     string visaClients = item.VisaClient;
                     if (!string.IsNullOrEmpty(visaClients))
                     {
-                        System.Text.RegularExpressions.Match m_EnName = Regex.Match(item.VisaClient, @"[A-Za-z]+");
-                        System.Text.RegularExpressions.Match m_ZHName = Regex.Match(item.VisaClient, @"[\u4e00-\u9fa5]");
-
-                        if (m_EnName.Success || m_ZHName.Success)
-                        {
-                            itemClientName = visaClients;
-                            continue;
-                        }
-
                         string[] clientIds = new string[] { };
                         if (visaClients.Contains(','))
                         {
@@ -960,14 +951,14 @@ namespace OASystem.API.Controllers
                     string insClients = item.ClientName;
                     if (!string.IsNullOrEmpty(insClients))
                     {
-                        System.Text.RegularExpressions.Match m_EnName = Regex.Match(item.ClientName, @"[A-Za-z]+");
-                        System.Text.RegularExpressions.Match m_ZHName = Regex.Match(item.ClientName, @"[\u4e00-\u9fa5]");
-
-                        if (m_EnName.Success || m_ZHName.Success)
-                        {
-                            itemClientName = insClients;
-                            continue;
-                        }
+                        //System.Text.RegularExpressions.Match m_EnName = Regex.Match(item.ClientName, @"[A-Za-z]+");
+                        //System.Text.RegularExpressions.Match m_ZHName = Regex.Match(item.ClientName, @"[\u4e00-\u9fa5]");
+
+                        //if (m_EnName.Success || m_ZHName.Success)
+                        //{
+                        //    itemClientName = insClients;
+                        //    continue;
+                        //}
 
                         string[] clientIds = new string[] { };
                         if (insClients.Contains(','))

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

@@ -430,9 +430,6 @@ namespace OASystem.Infrastructure.Repositories.Groups
                 }
 
 
-                if (dto.PortType == 1)
-                }
-
                 if (dto.PortType == 1)
                 {
                     var data = new