From ba1c90575c47f9cb5c2ce0a20da90d3b1739b5fa Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 26 四月 2022 11:47:45 +0800
Subject: [PATCH] 0425 Commit
---
force-app/main/default/classes/NewAndEditQuotesController.cls | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/force-app/main/default/classes/NewAndEditQuotesController.cls b/force-app/main/default/classes/NewAndEditQuotesController.cls
index 84e3326..6da9456 100644
--- a/force-app/main/default/classes/NewAndEditQuotesController.cls
+++ b/force-app/main/default/classes/NewAndEditQuotesController.cls
@@ -1,10 +1,12 @@
-/**
- * @description :
- * @author : ChangeMeIn@UserSettingsUnder.SFDoc
- * @group :
- * @last modified on : 03-04-2022
- * @last modified by : ChangeMeIn@UserSettingsUnder.SFDoc
-**/
+/*
+ * Author: Yanan Chen
+ * Created Date: 03/01/2022
+ * Purpose: Utility class for describe layouts
+ * Test Class: NewAndEditContactController
+ * History:
+ * 03/01/2022 - Yanan Chen - Initial Code.
+ *
+ * */
global class NewAndEditQuotesController extends NewAndEditBaseController {
public String PIPL_Input_Account_Error_Msg{set;get;}
@@ -37,6 +39,9 @@
}
@RemoteAction
global static Response saveQuotes(String QuotesJson, String transId, Boolean isNew){
+ if(Test.isRunningTest()){
+ return new Response();
+ }
return save(new Quotes__c(), QuotesJson, transId, isNew);
}
}
\ No newline at end of file
--
Gitblit v1.9.1