// author:kkbes for 产品检索 的修理报价预估按钮 public with sharing class LexRepairQuoteController { @AuraEnabled public static Product2__c init(String recordId){ try{ Product2__c res = [SELECT id, Name FROM Product2__c WHERE Id = : recordId]; return res; } catch (Exception e) { } return null; } }