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;
|
| }
|
| }
|
|