From 50ce6a5e5ae7ac6ce3e6281acca9a0db568306e6 Mon Sep 17 00:00:00 2001
From: unknown <sunxia@prec-tech.com>
Date: 星期三, 23 八月 2023 14:54:59 +0800
Subject: [PATCH] Merge branch 'LEX_dev' of http://47.92.229.245:8089/r/lightningupdate into LEX_dev
---
force-app/main/default/classes/NewLeadFromContact2.cls | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/classes/NewLeadFromContact2.cls b/force-app/main/default/classes/NewLeadFromContact2.cls
index 63f5460..e6deeab 100644
--- a/force-app/main/default/classes/NewLeadFromContact2.cls
+++ b/force-app/main/default/classes/NewLeadFromContact2.cls
@@ -1,12 +1,13 @@
-public with sharing class NewLeadFromContact2 {
+public without sharing class NewLeadFromContact2 {
@AuraEnabled
public static InitData NewLeadFromContact2(String recordId) {
InitData res = new initData();
try{
- Contact report= [SELECT Id,Name,AccountId FROM Contact WHERE Id = :recordId LIMIT 1];
+ Contact report= [SELECT Id,Name,AccountId,AWS_Data_Id__c FROM Contact WHERE Id = :recordId LIMIT 1];
res.Id = report.Id;
res.Name = report.Name;
res.AccountId = report.AccountId;
+ res.AWSDataId = report.AWS_Data_Id__c;
Account acc = [SELECT Id,Name,Department_Class__c FROM Account WHERE id =: report.AccountId];
res.accountIds = acc.Id;
res.accountName = acc.Name;
@@ -33,5 +34,7 @@
public String accountDepartmentClass;
@AuraEnabled
public String NewDailyReport;
+ @AuraEnabled
+ public String AWSDataId;
}
}
\ No newline at end of file
--
Gitblit v1.9.1