KKbes
2023-06-27 0230d0b66c508d98981fc2a3ff8e82f7ceecc3da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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;
 
    }
 
}