buli
2023-05-23 07390e2fcb4adf27c928335bf27ae7939c5a80ad
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;