1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
public with sharing class LexConsumApplyEquipmentSetReaController {
    @AuraEnabled
    public static InitDate reassign(String recordId) {
        InitDate res = new InitDate();
        try {
            Consum_Apply__c apply = [SELECT Id,
                Status__c,
                AccDealerBlacklist__c FROM Consum_Apply__c WHERE Id = :recordId LIMIT 1];
            res.status = apply.Status__c;
            
        }
        catch (Exception e) {
            System.debug('******ConsumApplyEquipmentSetReaController****'+e.getMessage());
        }
        return res;
    }
 
   
 
    public class InitDate{
 
        @AuraEnabled
        public String id;
 
        @AuraEnabled
        public String status;
   
    }
}