binxie
2024-01-16 1b08402678deb31bba4a347bfd388eba8360cbc1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public with sharing class LexBTReportController {
    public LexBTReportController() {
        
    }
 
    @AuraEnabled
    public static String init(String recordId){
        try {
            Campaign c=[select CampaignStatus__c from Campaign where id = :recordId];
            return c.CampaignStatus__c;
        }
        catch (Exception e) {
            System.debug('LexBTReportController init error:'+e.getMessage());
        }
        return null;
    }
}