From a2f7f78e8b02e3613c9ff9cf584de2ec0bda075d Mon Sep 17 00:00:00 2001
From: 李彤 <litong@prec-tech.com>
Date: 星期四, 12 五月 2022 09:34:08 +0800
Subject: [PATCH] 替换字段

---
 force-app/main/default/classes/CampaignTriggerBefInsHandler.cls |    2 +-
 force-app/main/default/classes/ApplicationForCAHandler.cls      |    2 +-
 force-app/main/default/classes/NFM703WebServiceTest.cls         |    2 +-
 force-app/main/default/classes/NFM705Rest.cls                   |    6 +++---
 force-app/main/default/classes/NFM703ControllerTest.cls         |    4 ++--
 force-app/main/default/classes/NFM703Controller.cls             |    6 +++---
 force-app/main/default/classes/ApplicationForCAHandlerTest.cls  |   10 +++++-----
 7 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/force-app/main/default/classes/ApplicationForCAHandler.cls b/force-app/main/default/classes/ApplicationForCAHandler.cls
index 0826271..50fed32 100644
--- a/force-app/main/default/classes/ApplicationForCAHandler.cls
+++ b/force-app/main/default/classes/ApplicationForCAHandler.cls
@@ -154,7 +154,7 @@
     private Campaign update_info_from_app(Campaign cam, Application_for_Conference_Adjudication__c app) {
         cam.StartDate                        = app.StartDate__c;
         cam.EndDate                          = app.EndDate__c;
-        cam.Budget_Type__c                   = app.BudgetType__c;
+        cam.Implementation_Purpose__c                   = app.BudgetType__c;
         cam.OfficeCategory__c                = app.OfficeCategory__c;
         cam.Meeting_Type__c                  = app.MeetingType__c;
 
diff --git a/force-app/main/default/classes/ApplicationForCAHandlerTest.cls b/force-app/main/default/classes/ApplicationForCAHandlerTest.cls
index 395f8c1..cadf621 100644
--- a/force-app/main/default/classes/ApplicationForCAHandlerTest.cls
+++ b/force-app/main/default/classes/ApplicationForCAHandlerTest.cls
@@ -55,7 +55,7 @@
         cam.Meeting_Approved_No__c           = aca.Id;
         cam.StartDate                        = aca.StartDate__c;
         cam.EndDate                          = aca.EndDate__c;
-        cam.Budget_Type__c                   = aca.BudgetType__c;
+        cam.Implementation_Purpose__c                   = aca.BudgetType__c;
         cam.OfficeCategory__c                = aca.OfficeCategory__c;
         cam.Meeting_Type__c                  = aca.MeetingType__c;
         cam.Activity_Type_Name__c            = aca.ActivityTypeName__c;
@@ -148,7 +148,7 @@
         cam.Meeting_Approved_No__c           = aca.Id;
         cam.StartDate                        = aca.StartDate__c;
         cam.EndDate                          = aca.EndDate__c;
-        cam.Budget_Type__c                   = aca.BudgetType__c;
+        cam.Implementation_Purpose__c                   = aca.BudgetType__c;
         cam.OfficeCategory__c                = aca.OfficeCategory__c;
         cam.Meeting_Type__c                  = aca.MeetingType__c;
         cam.Activity_Type_Name__c            = aca.ActivityTypeName__c;
@@ -239,7 +239,7 @@
         cam.Meeting_Approved_No__c           = aca.Id;
         cam.StartDate                        = aca.StartDate__c;
         cam.EndDate                          = aca.EndDate__c;
-        cam.Budget_Type__c                   = aca.BudgetType__c;
+        cam.Implementation_Purpose__c                   = aca.BudgetType__c;
         cam.OfficeCategory__c                = aca.OfficeCategory__c;
         cam.Meeting_Type__c                  = aca.MeetingType__c;
         cam.Activity_Type_Name__c            = aca.ActivityTypeName__c;
@@ -272,7 +272,7 @@
         cam_n.Meeting_Approved_No__c           = aca.Id;
         cam_n.StartDate                        = aca.StartDate__c;
         cam_n.EndDate                          = aca.EndDate__c;
-        cam_n.Budget_Type__c                   = aca.BudgetType__c;
+        cam_n.Implementation_Purpose__c                   = aca.BudgetType__c;
         cam_n.OfficeCategory__c                = aca.OfficeCategory__c;
         cam_n.Meeting_Type__c                  = aca.MeetingType__c;
         cam_n.Activity_Type_Name__c            = aca.ActivityTypeName__c;
@@ -302,4 +302,4 @@
         update aca;
 
     }
-}
+}
\ No newline at end of file
diff --git a/force-app/main/default/classes/CampaignTriggerBefInsHandler.cls b/force-app/main/default/classes/CampaignTriggerBefInsHandler.cls
index 26f873e..d4eda24 100644
--- a/force-app/main/default/classes/CampaignTriggerBefInsHandler.cls
+++ b/force-app/main/default/classes/CampaignTriggerBefInsHandler.cls
@@ -246,7 +246,7 @@
                             if (app.MeetingType__c != '璧炲姪浼�') {
                                 cam.StartDate                        = app.StartDate__c;
                                 cam.EndDate                          = app.EndDate__c;
-                                cam.Budget_Type__c                   = app.BudgetType__c;
+                                cam.Implementation_Purpose__c                   = app.BudgetType__c;
                                 cam.OfficeCategory__c                = app.OfficeCategory__c;
                                 cam.Meeting_Type__c                  = app.MeetingType__c;
 
diff --git a/force-app/main/default/classes/NFM703Controller.cls b/force-app/main/default/classes/NFM703Controller.cls
index ecadff5..4c4be18 100644
--- a/force-app/main/default/classes/NFM703Controller.cls
+++ b/force-app/main/default/classes/NFM703Controller.cls
@@ -37,7 +37,7 @@
 		public String ActivityTypeName; //娲诲姩褰㈠紡
 		public String ExpectedOlympusAttendance; //棰勮鍙備細Olympus浜烘暟
 		public String ExpectedHcpAttendance; //棰勮鍙備細HCP浜烘暟
-		public String BudgetType; //棰勭畻绫诲瀷=Budget_Type__c
+		public String BudgetType; //棰勭畻绫诲瀷=Implementation_Purpose__c
 		public String OfficeCategory; //绉戝鍒嗙被=OfficeCategory__c
 		public String MeetingType; //浼氳绫诲瀷=Meeting_Type__c
 		public String StateMaster; //鐪�=State_Master__c
@@ -71,7 +71,7 @@
 	    								Name,Num__c,
 	    								StartDate,
 	    								EndDate,
-	    								Budget_Type__c,
+	    								Implementation_Purpose__c,
 	    								OfficeCategory__c,
 	    								Meeting_Type__c,
 	    								State_Master__r.Name,
@@ -121,7 +121,7 @@
                 ged.Name 			  = cam.Name;
         		ged.StartDate 		  = NFMUtil.formatDate2StrSpo(cam.StartDate);
         		ged.EndDate 		  = NFMUtil.formatDate2StrSpo(cam.EndDate);
-                ged.BudgetType        = cam.Budget_Type__c;
+                ged.BudgetType        = cam.Implementation_Purpose__c;
 				ged.OfficeCategory 	  = NFMUtil.getMapValue(transferMap, 'OfficeCategory__c', cam.OfficeCategory__c, iflog);
 				ged.MeetingType 	  = cam.Meeting_Type__c;
                 ged.ActivityTypeName  = cam.Activity_Type_Name__c;
diff --git a/force-app/main/default/classes/NFM703ControllerTest.cls b/force-app/main/default/classes/NFM703ControllerTest.cls
index 8babe77..1feca6a 100644
--- a/force-app/main/default/classes/NFM703ControllerTest.cls
+++ b/force-app/main/default/classes/NFM703ControllerTest.cls
@@ -127,7 +127,7 @@
 		cam.Name = 'cam';
 		cam.Name2__c = '1234';
 		cam.Meeting_Type__c = '璧炲姪浼�';
-		cam.Budget_Type__c = '浜у搧鎺ㄥ箍';
+		cam.Implementation_Purpose__c = '浜у搧鎺ㄥ箍';
 		cam.WorkshopPlace__c = '娴嬭瘯鍦板潃';
 		cam.Workshop_category__c = '鏅�氬浼�/浼氳';
 		cam.Society_Type__c = '鍏ㄥ浗';
@@ -311,7 +311,7 @@
         cam.Num__c = 'MT-GI-202112-5772';
 // StartDate
 // EndDate
-		cam.Budget_Type__c = '鏂颁骇鍝佷笂甯�';
+		cam.Implementation_Purpose__c = '鏂颁骇鍝佷笂甯�';
 		cam.OfficeCategory__c = null;
 		cam.Meeting_Type__c = '涓诲姙浼�';
 		cam.Activity_Type_Name__c = null;
diff --git a/force-app/main/default/classes/NFM703WebServiceTest.cls b/force-app/main/default/classes/NFM703WebServiceTest.cls
index 8eea352..5725f16 100644
--- a/force-app/main/default/classes/NFM703WebServiceTest.cls
+++ b/force-app/main/default/classes/NFM703WebServiceTest.cls
@@ -56,7 +56,7 @@
         cam.Num__c = 'MT-GI-202112-5772';
 // StartDate
 // EndDate
-		cam.Budget_Type__c = '鏂颁骇鍝佷笂甯�';
+		cam.Implementation_Purpose__c = '鏂颁骇鍝佷笂甯�';
 		cam.OfficeCategory__c = null;
 		cam.Meeting_Type__c = '涓诲姙浼�';
 		cam.Activity_Type_Name__c = null;
diff --git a/force-app/main/default/classes/NFM705Rest.cls b/force-app/main/default/classes/NFM705Rest.cls
index ee72525..3b39cf6 100644
--- a/force-app/main/default/classes/NFM705Rest.cls
+++ b/force-app/main/default/classes/NFM705Rest.cls
@@ -25,7 +25,7 @@
         public String Num; //浼氳缂栫爜 == Num__c
         public String StartDate; //寮�濮嬫棩鏈� == StartDate
         public String EndDate; //缁撴潫鏃ユ湡 == EndDate
-        public String BudgetType; //棰勭畻绫诲瀷 == Budget_Type__c
+        public String BudgetType; //棰勭畻绫诲瀷 == Implementation_Purpose__c
         public String OfficeCategory; //绉戝鍒嗙被 == OfficeCategory__c
         public String MeetingType; //浼氳绫诲瀷 == Meeting_Type__c   
         public String StateMaster; //鐪� == State_Master__c
@@ -269,7 +269,7 @@
                                 if (app.MeetingType__c != '璧炲姪浼�') {
                                     cam.StartDate                        = app.StartDate__c;
                                     cam.EndDate                          = app.EndDate__c;
-                                    cam.Budget_Type__c                   = app.BudgetType__c;
+                                    cam.Implementation_Purpose__c                   = app.BudgetType__c;
                                     cam.OfficeCategory__c                = app.OfficeCategory__c;
                                     cam.Meeting_Type__c                  = app.MeetingType__c;
     
@@ -431,7 +431,7 @@
     //     cam.Meeting_Approved_No__c           = app.Id;
     //     cam.StartDate                        = app.StartDate__c;
     //     cam.EndDate                          = app.EndDate__c;
-    //     cam.Budget_Type__c                   = app.BudgetType__c;
+    //     cam.Implementation_Purpose__c                   = app.BudgetType__c;
     //     cam.OfficeCategory__c                = app.OfficeCategory__c;
     //     cam.Meeting_Type__c                  = app.MeetingType__c;
     //     cam.Activity_Type_Name__c            = app.ActivityTypeName__c;

--
Gitblit v1.9.1