liuyn
2024-03-11 a87f1c3df03078814ee97ad0c8ac200a232419e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public without sharing class LexWithOutSharingSQLDao {
    public static List<Contact> searchContactServiceResult(String searchStr,String accountId) {
        system.debug('SOQL:'+searchStr);
        return Database.query(searchStr);
    }
 
    public static List<Contact> searchVisitorUniContact(List<String> idList) {
        return [Select id, name, Account.Name, Type__c, Doctor_Division1__c, MyDr_Flg__c, MyDr__c, phone, Supplement__c, Select_Flg__c, Please_Delete__c, Please_Delete_applier__c, FirstName, LastName, Search_LastName__c, Account_Visitor_Search__c,AWS_Data_Id__c,UnifiedI_Contact_ID__c,MobilePhone  From Contact where id in :idList]; //deloitte-zhj 20231031 加字段MobilePhone
    }
 
    public static List<Contact> searchVisitorScwl(String searchSql, Set<String> awsContactSet) {
        return Database.query(searchSql);
    }
 
    public static Contact searchContactById(String responsibleContactId) {
        return [select id,AWS_Data_Id__c from Contact where id=:responsibleContactId]; 
    }
}