liuyn
2024-03-11 a87f1c3df03078814ee97ad0c8ac200a232419e9
1
2
3
4
5
6
7
8
9
10
11
public with sharing class LexInventoryHeaderController {
    
    @AuraEnabled
    public static LostReport__c init(String recordId){
            List<LostReport__c> lpList = [SELECT Id, Asset__c from LostReport__c WHERE Id = :recordId];
            if(lpList.size()>0){
                return lpList[0];
            }
        return null;
    }
}