liuyn
2024-03-11 a87f1c3df03078814ee97ad0c8ac200a232419e9
1
2
3
4
5
6
7
8
9
10
11
public class LexinfrastructureProjectController {
    @AuraEnabled
    public static Infrastructure_Project__c selectInfrastructureProject(String recordId){
        List<Infrastructure_Project__c> Infrastructure = [select Id,OCSM_Hospital__c from Infrastructure_Project__c where Id =:recordId];
        Infrastructure_Project__c inp = new Infrastructure_Project__c();
        if(Infrastructure.size() > 0){
            inp = Infrastructure[0];
        }
        return inp;
    }
}