浏览代码

Merge branch 'develop' of http://132.232.92.186:3000/XinXiBu/OA2023 into develop

yuanrf 3 月之前
父节点
当前提交
8447898c5a
共有 1 个文件被更改,包括 11 次插入1 次删除
  1. 11 1
      OASystem/OASystem.Infrastructure/Repositories/CRM/NewClientDataRepository.cs

+ 11 - 1
OASystem/OASystem.Infrastructure/Repositories/CRM/NewClientDataRepository.cs

@@ -24,6 +24,7 @@ using System.ComponentModel.Design;
 using System.Diagnostics;
 using System.Diagnostics.Contracts;
 using System.Linq;
+using System.Reflection.Metadata;
 using System.Runtime.Intrinsics.Arm;
 using System.Text;
 using System.Threading.Tasks;
@@ -431,7 +432,16 @@ namespace OASystem.Infrastructure.Repositories.CRM
                         int index = 1;
                         foreach (var item in NewClientDataView)
                         {
-                            EncryptionProcessor.DecryptProperties(item); //解密
+                            //EncryptionProcessor.DecryptProperties(item); //解密
+
+                            item.Weight = AesEncryptionHelper.Decrypt(item.Weight);
+                            item.Client = AesEncryptionHelper.Decrypt(item.Client);
+                            item.Contact = AesEncryptionHelper.Decrypt(item.Contact);
+                            item.Job = AesEncryptionHelper.Decrypt(item.Job);
+                            item.Telephone = AesEncryptionHelper.Decrypt(item.Telephone);
+                            item.Phone = AesEncryptionHelper.Decrypt(item.Phone);
+                            item.Location = AesEncryptionHelper.Decrypt(item.Location);
+                            item.Remark = AesEncryptionHelper.Decrypt(item.Remark);
 
                             item.RowNumber = index;
                             item.CategoryStr = setDatas.Find(x => x.Id == item.Category)?.Name ?? "-";