3 커밋 24c5400bcd ... db43d2a97e

작성자 SHA1 메시지 날짜
  Lyyyi db43d2a97e Merge branch 'develop' of http://132.232.92.186:3000/XinXiBu/OA2023 into develop 1 개월 전
  Lyyyi 44e9e052c1 波兰 签证 10% 1 개월 전
  Lyyyi ff16e5511d 付款申请客户名称更改 1 개월 전
2개의 변경된 파일980개의 추가작업 그리고 283개의 파일을 삭제
  1. 35 32
      OASystem/OASystem.Api/Controllers/FinancialController.cs
  2. 945 251
      OASystem/OASystem.Api/Controllers/GroupsController.cs

+ 35 - 32
OASystem/OASystem.Api/Controllers/FinancialController.cs

@@ -3804,38 +3804,41 @@ namespace OASystem.API.Controllers
                             string sql = string.Format("select b.Id,b.Pinyin,b.lastName,b.firstName,b.phone from  Grp_TourClientList a, Crm_DeleClient b where a.clientid = b.id and a.isdel = 0 and a.diid = {0}", groupInfo.Id);
                             string sql = string.Format("select b.Id,b.Pinyin,b.lastName,b.firstName,b.phone from  Grp_TourClientList a, Crm_DeleClient b where a.clientid = b.id and a.isdel = 0 and a.diid = {0}", groupInfo.Id);
                             var arr = _sqlSugar.SqlQueryable<SimplClientInfo>(sql).ToList();
                             var arr = _sqlSugar.SqlQueryable<SimplClientInfo>(sql).ToList();
 
 
-                            string visaClientName = visaDatas.Find(it => payInfo.DIId == it.DIId && payInfo.CId == it.Id)?.VisaClient ?? "";
-                            string clientName = "-";
-                            if (Regex.Match(visaClientName, @"\d+,?").Value.Length > 0)
-                            {
-                                string[] temparr = visaClientName.Split(',');
-                                string fistrStr = temparr[0];
-                                int count = temparr.Length;
-
-                                int tempId;
-                                bool success = int.TryParse(fistrStr, out tempId);
-                                if (success)
-                                {
-                                    SimplClientInfo tempInfo = arr.FirstOrDefault(s => s.Id == tempId);
-
-                                    if (tempInfo != null)
-                                    {
-                                        EncryptionProcessor.DecryptProperties(tempInfo);
-                                        if (count > 1)
-                                        {
-                                            clientName = string.Format(@"{0}{1}等{2}人", tempInfo.LastName, tempInfo.FirstName, count);
-                                        }
-                                        else
-                                        {
-                                            clientName = string.Format(@"{0}{1}", tempInfo.LastName, tempInfo.FirstName);
-                                        }
-                                    }
-                                }
-                                else
-                                {
-                                    clientName = fistrStr;
-                                }
-                            }
+                            var clientName = visaDatas.Find(it => payInfo.DIId == it.DIId && payInfo.CId == it.Id)?.VisaDescription ?? "";
+                            #region 客户名称拼接
+                            //string visaClientName = visaDatas.Find(it => payInfo.DIId == it.DIId && payInfo.CId == it.Id)?.VisaClient ?? "";
+                            //string clientName = "-";
+                            //if (Regex.Match(visaClientName, @"\d+,?").Value.Length > 0)
+                            //{
+                            //    string[] temparr = visaClientName.Split(',');
+                            //    string fistrStr = temparr[0];
+                            //    int count = temparr.Length;
+
+                            //    int tempId;
+                            //    bool success = int.TryParse(fistrStr, out tempId);
+                            //    if (success)
+                            //    {
+                            //        SimplClientInfo tempInfo = arr.FirstOrDefault(s => s.Id == tempId);
+
+                            //        if (tempInfo != null)
+                            //        {
+                            //            EncryptionProcessor.DecryptProperties(tempInfo);
+                            //            if (count > 1)
+                            //            {
+                            //                clientName = string.Format(@"{0}{1}等{2}人", tempInfo.LastName, tempInfo.FirstName, count);
+                            //            }
+                            //            else
+                            //            {
+                            //                clientName = string.Format(@"{0}{1}", tempInfo.LastName, tempInfo.FirstName);
+                            //            }
+                            //        }
+                            //    }
+                            //    else
+                            //    {
+                            //        clientName = fistrStr;
+                            //    }
+                            //}
+                            #endregion
 
 
                             priName = $"[费用名称:{clientName}]";
                             priName = $"[费用名称:{clientName}]";
                             break;
                             break;

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 945 - 251
OASystem/OASystem.Api/Controllers/GroupsController.cs