From 29fbeff08ec332db9bc6257e106b81d21c8d4534 Mon Sep 17 00:00:00 2001
From: 付煜 <fuyu3103346691@163.com>
Date: 星期二, 12 四月 2022 09:44:07 +0800
Subject: [PATCH] 系统周报添加字段
---
force-app/main/default/classes/SearchContactController.cls | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/classes/SearchContactController.cls b/force-app/main/default/classes/SearchContactController.cls
index 808d126..d6d46b2 100644
--- a/force-app/main/default/classes/SearchContactController.cls
+++ b/force-app/main/default/classes/SearchContactController.cls
@@ -32,7 +32,7 @@
conList = new List<Contact>();
}else{
if(checkNullString(accountId)){
- conList = new List<Contact>([select Id,AWS_Data_Id__c,Account.Name from Contact where AWS_Data_Id__c!='']);
+ conList = new List<Contact>();
}else {
conList = new List<Contact>([select Id,AWS_Data_Id__c,Account.Name from Contact where AccountId=:accountId and AWS_Data_Id__c!='']);
}
@@ -89,7 +89,7 @@
public static Response searchContactsNoPI(String contactName) {
Response resp = new Response();
resp.status = 'fail';
- List<Contact> conListTemp = new List<Contact>([select Id,Name,Account.Name,Phone,Email from Contact where Name like :contactName]);
+ List<Contact> conListTemp = new List<Contact>([select Id,Name,Account.Name,Phone,Email,MobilePhone from Contact where Name like :contactName]);
if(conListTemp.size() > 0){
resp.status = 'success';
resp.message = JSON.serialize(conListTemp);
--
Gitblit v1.9.1