From a2dbc98cd7d7925d6ed2b1b3d454aba9610e23c5 Mon Sep 17 00:00:00 2001
From: zhangzhengmei <zhangzhengmei@prec-tech.com>
Date: 星期四, 18 五月 2023 14:04:10 +0800
Subject: [PATCH] 新建新服务合同报价

---
 force-app/main/default/classes/otherButtonMaintenanceContractCtl.cls |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/classes/otherButtonMaintenanceContractCtl.cls b/force-app/main/default/classes/otherButtonMaintenanceContractCtl.cls
index 771838e..3caa6cb 100644
--- a/force-app/main/default/classes/otherButtonMaintenanceContractCtl.cls
+++ b/force-app/main/default/classes/otherButtonMaintenanceContractCtl.cls
@@ -31,7 +31,7 @@
             res.Name = report.Name;
             res.ContractQuotationOrNotC = report.Contract_quotation_or_not__c;
             res.PaymentPlanSumFirstC = report.Payment_Plan_Sum_First__c;
-
+            res.RecordTypeId1 = Schema.SObjectType.Maintenance_Contract__c.getRecordTypeInfosByName().get('鏈嶅姟鍚堝悓').getRecordTypeId();
             System.debug(LoggingLevel.INFO, '*** res: ' + res);
         }catch(Exception e){
             System.debug(LoggingLevel.INFO, '*** e: ' + e);
@@ -109,6 +109,9 @@
        @AuraEnabled
        public String RecordTypeId;   
        @AuraEnabled
-       public Boolean URFContractC;   
+       public Boolean URFContractC;  
+       @AuraEnabled
+       public ID RecordTypeId1; 
+
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1