public with sharing class LexLostItemListController {
    @AuraEnabled
    public static String init(String recordId){
        try {
            List<Rental_Apply_Equipment_Set_Detail__c> raesd = [SELECT Id FROM Rental_Apply_Equipment_Set_Detail__c WHERE Rental_Apply__c = :recordId AND Check_lost_Item_F__c = '欠品' AND Return_DeliverySlip__c = null];
            if(raesd.size()>0){
                return 'OK';
            }
        }
        catch (Exception e) {
            System.debug('*******LexLostItemListController******'+e.getMessage());
        } 
        return '';
    }   
}