From 07390e2fcb4adf27c928335bf27ae7939c5a80ad Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 23 五月 2023 11:28:12 +0800
Subject: [PATCH] bakcup20230523

---
 force-app/main/default/classes/buttonRepairQuotationCtl.cls |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/classes/buttonRepairQuotationCtl.cls b/force-app/main/default/classes/buttonRepairQuotationCtl.cls
index e7213e6..71aa39d 100644
--- a/force-app/main/default/classes/buttonRepairQuotationCtl.cls
+++ b/force-app/main/default/classes/buttonRepairQuotationCtl.cls
@@ -44,7 +44,7 @@
         String res ='';
         try {
             Repair_Quotation__c repair = new Repair_Quotation__c();
-            repair.Id = recordid;
+            repair.Id = recordId;
             repair.CutPriceStatus_Service__c = '宸叉彁浜�';
             update repair;
         } catch (Exception e) {
@@ -60,7 +60,7 @@
         String res ='';
         try {
             Repair_Quotation__c repair = new Repair_Quotation__c();
-            repair.Id = recordid;
+            repair.Id = recordId;
             repair.Rental_Apply_Discount_Status__c = '宸叉彁浜�';
             update repair;
         } catch (Exception e) {
@@ -98,6 +98,18 @@
         return res;
     }
 
+     // 鏌ユ壘绠�妗�
+     @AuraEnabled
+     public static List<Profile> initSelectProfile(String profileId){
+         List<Profile> res = new List<Profile>();
+         try{
+             res = [SELECT Id,name FROM Profile WHERE Id=: profileId ];
+         }catch(Exception e){
+             System.debug(LoggingLevel.INFO, '*** e: ' + e);
+         }
+         return res;
+     }
+
     public class InitData{
         @AuraEnabled
         public String Id;

--
Gitblit v1.9.1