|
@@ -337,6 +337,8 @@ namespace OASystem.Infrastructure.Repositories.CRM
|
|
}
|
|
}
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
|
|
+ if (intList.Count < 1) intList.Add(-1);
|
|
|
|
+
|
|
var NewClientDataView = new List<NewClientDataView>();
|
|
var NewClientDataView = new List<NewClientDataView>();
|
|
var count = 0;
|
|
var count = 0;
|
|
string contact = dto.Contact, location = dto.Location, clientDto = dto.Client;
|
|
string contact = dto.Contact, location = dto.Location, clientDto = dto.Client;
|
|
@@ -434,7 +436,17 @@ namespace OASystem.Infrastructure.Repositories.CRM
|
|
int index = 1;
|
|
int index = 1;
|
|
foreach (var item in NewClientDataView)
|
|
foreach (var item in NewClientDataView)
|
|
{
|
|
{
|
|
- EncryptionProcessor.DecryptProperties(item); //解密
|
|
|
|
|
|
+ //EncryptionProcessor.DecryptProperties(item); //解密
|
|
|
|
+
|
|
|
|
+ item.Wechat = AesEncryptionHelper.Decrypt(item.Wechat);
|
|
|
|
+ item.Job = AesEncryptionHelper.Decrypt(item.Job);
|
|
|
|
+ item.Phone = AesEncryptionHelper.Decrypt(item.Phone);
|
|
|
|
+ item.Telephone = AesEncryptionHelper.Decrypt(item.Telephone);
|
|
|
|
+ item.Remark = AesEncryptionHelper.Decrypt(item.Remark);
|
|
|
|
+ if(string.IsNullOrEmpty(contact)) item.Contact = AesEncryptionHelper.Decrypt(item.Contact);
|
|
|
|
+ if (string.IsNullOrEmpty(clientDto)) item.Client = AesEncryptionHelper.Decrypt(item.Client);
|
|
|
|
+ if (string.IsNullOrEmpty(location)) item.Location = AesEncryptionHelper.Decrypt(item.Location);
|
|
|
|
+
|
|
item.RowNumber = index;
|
|
item.RowNumber = index;
|
|
item.CategoryStr = setDatas.Find(x => x.Id == item.Category)?.Name ?? "-";
|
|
item.CategoryStr = setDatas.Find(x => x.Id == item.Category)?.Name ?? "-";
|
|
item.LvlidStr = setDatas.Find(x => x.Id == item.Lvlid)?.Name ?? "-";
|
|
item.LvlidStr = setDatas.Find(x => x.Id == item.Lvlid)?.Name ?? "-";
|