From 928399eceec50e3d37ea08669a12789a9410a9d2 Mon Sep 17 00:00:00 2001
From: 沙世明 <shashiming@prec-tech.com>
Date: 星期二, 22 十一月 2022 16:51:16 +0800
Subject: [PATCH] 111
---
force-app/main/default/classes/StartTradingController.cls | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/StartTradingController.cls b/force-app/main/default/classes/StartTradingController.cls
index 67f6cc3..e1f46d5 100644
--- a/force-app/main/default/classes/StartTradingController.cls
+++ b/force-app/main/default/classes/StartTradingController.cls
@@ -82,6 +82,7 @@
Sales_Method__c, Fund_Basis__c, OwnerId, Wholesale_Price__c, Lead_No__c,Inquiry_Num__c,CreatedDate,CreatedById,
Tender_information__c, Agency_Opportunity__c, SI_PromoteInquiry__c
, Contact_Name__r.AccountId //2022-6-20 yjk 澧炲姞鑱旂郴浜虹殑绉戝鏌ヨ
+ ,ET_Check__c //SWAG-CKDATG fy 銆愬鎵樸�戙�怬BSAP-鎶ヤ环濮旀墭銆戞姤浠峰鎵橀」鐩敼鍠�1
from Lead where id =: this.leadId];
this.SI_Flg = this.lead.SI_PromoteInquiry__c;
// 瑷虹檪绉戦伕鎶炪儶銈广儓銇彇寰楋紙鏉′欢锛氱梾闄�=銉兗銉夋儏鍫便伄鐥呴櫌鍚嶇О锛�
@@ -287,7 +288,11 @@
RecordType rect = [select id from RecordType where IsActive = true and SobjectType = 'Opportunity' and Name =: Opptype limit 1];
opp.RecordTypeId = rect.id;
// opp.Opportunity_Category__c = opp.Account.Department_Class_Wd__c;
- opp.Opportunity_Category__c = dept.Department_Class_Wd__c;
+ //SWAG-CKDATG fy 銆愬鎵樸�戙�怬BSAP-鎶ヤ环濮旀墭銆戞姤浠峰鎵橀」鐩敼鍠�1 start
+ // opp.Opportunity_Category__c = dept.Department_Class_Wd__c;
+ opp.Opportunity_Category__c = this.lead.ET_Check__c ? 'ET' : dept.Department_Class_Wd__c;
+ opp.Opp_order_Type__c = this.lead.ET_Check__c ? 'ET' : null;
+ //SWAG-CKDATG fy 銆愬鎵樸�戙�怬BSAP-鎶ヤ环濮旀墭銆戞姤浠峰鎵橀」鐩敼鍠�1 end
System.debug('this.lead.Hospital_Name__c:'+this.lead.Hospital_Name__c);
System.debug('this.lead.LeadSource:'+this.lead.LeadSource);
System.debug('this.lead.Other_Society__c:'+this.lead.Other_Society__c);
--
Gitblit v1.9.1