From a25138b23fdaa05197fb25fdbb3202f122235611 Mon Sep 17 00:00:00 2001
From: 游畅 <youchang@prec-tech.com>
Date: 星期四, 28 四月 2022 16:22:34 +0800
Subject: [PATCH] 【委托】【优先】询问单相关修改

---
 force-app/main/default/classes/StartTradingController.cls |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/force-app/main/default/classes/StartTradingController.cls b/force-app/main/default/classes/StartTradingController.cls
index 4579d0c..c28ce4b 100644
--- a/force-app/main/default/classes/StartTradingController.cls
+++ b/force-app/main/default/classes/StartTradingController.cls
@@ -77,11 +77,9 @@
         // 銉兗銉夋儏鍫便倰鍙栧緱  
         this.lead = [select id,SI_OppoLeadSec__c,owner_not_automatically_update__c, Hospital_Name__c, Contact_Name__c, Contact_Name__r.Name, 
                      Opportunity_stage__c,Hospital_Name__r.RecordType.DeveloperName, Hospital_Name__r.Parent.RecordType.DeveloperName,
-                     LastName, FirstName, LeadSource, Other_Society__c, Opp_Name__c, Purchase_Reason__c, Trade__c, Sales_Root__c,
+                     LastName, FirstName, LeadSource, Other_Society__c, Opp_Name__c, Purchase_Reason__c, Trade__c, Sales_Root__c,  
                      Close_Forecasted_Date__c, Competitor__c, Hospital_Budget__c, Promise_Class__c, Dicision_Maker__c, Purchase_Type__c,
-                     Sales_Method__c, Fund_Basis__c, OwnerId, Wholesale_Price__c, Lead_No__c,
-                    //  Inquiry_Num__c,
-                     CreatedDate,CreatedById
+                     Sales_Method__c, Fund_Basis__c, OwnerId, Wholesale_Price__c, Lead_No__c,Inquiry_Num__c,CreatedDate,CreatedById
                      from Lead where id =: this.leadId];
                      
         // 瑷虹檪绉戦伕鎶炪儶銈广儓銇彇寰楋紙鏉′欢锛氱梾闄�=銉兗銉夋儏鍫便伄鐥呴櫌鍚嶇О锛�
@@ -291,7 +289,7 @@
             opp.Name = '*';
         }
         //20220412 SWAG-CBUB2W you start
-        // opp.Inquiry_Num__c = this.lead.Inquiry_Num__c;
+        opp.Inquiry_Num__c = this.lead.Inquiry_Num__c;
         //20220412 SWAG-CBUB2W you end
         opp.From_Lead_TF__c = true;
         opp.Trade__c = (String.isBlank(this.lead.Trade__c)) ? '鍐呰部' : this.lead.Trade__c;

--
Gitblit v1.9.1