From 9b197b7fac92278fb591ea8f4942c7d5687cb5ce Mon Sep 17 00:00:00 2001
From: 李金换 <lijinhuan@prec-tech.com>
Date: 星期一, 28 三月 2022 18:01:22 +0800
Subject: [PATCH] LJPH-C8FB4P【委托】配合PBI设备覆盖率的数据准备0328
---
force-app/main/default/classes/LeadIntentionController.cls | 18 +++++++++++++-----
1 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/force-app/main/default/classes/LeadIntentionController.cls b/force-app/main/default/classes/LeadIntentionController.cls
index 111cf9c..ec71404 100644
--- a/force-app/main/default/classes/LeadIntentionController.cls
+++ b/force-app/main/default/classes/LeadIntentionController.cls
@@ -1,4 +1,4 @@
-public with sharing class LeadIntentionController {
+public without sharing class LeadIntentionController {
public List<PCLInfo> pclInfos { get; set; }
/*****************妞滅储鐢�******************/
@@ -72,6 +72,8 @@
private String soqlForMoneyWithoutSort = null;
private static Integer searchLimit = 1000;
+ public String staticResource {get; set;}
+ public String awsDataIds {get; set;}
public LeadIntentionController() {
pclInfos = new List<PCLInfo>();
@@ -134,6 +136,7 @@
isActiveFormula = '鏈夋晥';
+ staticResource = JSON.serialize(PIHelper.getPIIntegrationInfo('Inquiry_form__c'));
}
public PageReference init() {
@@ -178,7 +181,12 @@
System.debug('鏈�鍚庡彇寰�:'+pclInfos.size());
pclCount = pclInfos.size();
ApexPages.addmessage(new ApexPages.message(ApexPages.severity.INFO, '鍙栧緱鏈�杩戠殑 ' + pclCount + ' 鏉℃暟鎹�'));
-
+
+ List<String> a = new List<String>();
+ for(Inquiry_form__c ifc : queryList){
+ a.add(ifc.AWS_Data_Id__c);
+ }
+ awsDataIds = JSON.serialize(a);
return null;
}
@@ -355,12 +363,12 @@
+ ' Opp_Name_Search__c, Opportunity_Division__c, LeadSource__c, Campaign__c,'
+ ' Urgent__c, Request_Detail__c ,Contact_Id__c,Hospital_ID__c,Department_ID__c,Opp_Name_Search_ID__c,'
+ 'Campaign_ID__c,Last_Name__c,Family_Name__c,Name,Reasons_options__c,'
- + 'Product1__c,Confirmation_Date__c'
+ + 'Product1__c,Confirmation_Date__c,AWS_Data_Id__c'
//,Lead_link__c
- + ' from Inquiry_form__c where Id != null '
+ + ' from Inquiry_form__c where Id != null ';
//2021-11-24 mzy 鍏遍�氬钩鍙伴」鐩�-棣栭〉淇敼 start
//鍙煡璇㈡墍鏈変汉鏄綋鍓嶇敤鎴风殑浜у搧鍜ㄨ鍗�
- + ' And OwnerId = \''+UserInfo.getUserId()+'\'';
+ //+ ' And OwnerId = \''+UserInfo.getUserId()+'\''
//2021-11-24 mzy 鍏遍�氬钩鍙伴」鐩�-棣栭〉淇敼 end
//鐘舵�佸彧鏄剧ず鏈窡杩�
--
Gitblit v1.9.1