From d8dc84a3d56df839895f1c417a4d9cbee763d262 Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期五, 03 三月 2023 14:50:59 +0800
Subject: [PATCH] gzw 测试环境代码更新
---
force-app/main/default/classes/CreateOpportunityTaskBatch.cls | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/CreateOpportunityTaskBatch.cls b/force-app/main/default/classes/CreateOpportunityTaskBatch.cls
index 7151392..3e30542 100644
--- a/force-app/main/default/classes/CreateOpportunityTaskBatch.cls
+++ b/force-app/main/default/classes/CreateOpportunityTaskBatch.cls
@@ -42,6 +42,7 @@
//2021-08-10 mzy update SWAG-C5R6GW 璇环浠诲姟鏂板瀛楁 start
oppSql += ',Competitor__c,Close_Forecasted_Date__c,Created_Day__c,StageName__c,Bid_Date__c,Closing_Bid_Date__c ';
//2021-08-10 mzy update SWAG-C5R6GW 璇环浠诲姟鏂板瀛楁 end
+ oppSql += ', OCSM_RMB_Without_Tax_1000__c '; //2022-2-28 yjk 銆愬鎵樸�戙�愯浠蜂换鍔°�戣浠蜂换鍔℃淳閫佹椂鐐瑰瓧娈佃褰曞鍔�
oppSql += ' from Opportunity ';
// 璇环绉戝鍒嗙被锛圤pportunity_Category__c锛� 鏄疓I
@@ -61,7 +62,9 @@
oppSql += ' where id in :TEST_ID';
}else{
oppSql += ' where StageName = \'寮曞悎\' and ForecastAccuracyObject__c = true';
- oppSql += ' and Competitor__c in (\'A\',\'B\',\'C\',\'D\',\'E\') '; //2021-11-22 yjk 澧炲姞鍒ゆ柇鏉′欢 璇环绛夌骇
+ // oppSql += ' and Competitor__c in (\'A\',\'B\',\'C\',\'D\',\'E\') '; //2021-11-22 yjk 澧炲姞鍒ゆ柇鏉′欢 璇环绛夌骇
+ oppSql += ' and Competitor__c in (\'A\',\'B\',\'C\',\'D\') '; //2021-11-22 yjk 澧炲姞鍒ゆ柇鏉′欢 璇环绛夌骇
+
oppSql += ' and IsNextMonthOfVisit__c = false and SalesdepartmentForecast__c in :areas';
// 5锛夊鎴蜂负H灞傚鎴风殑璇环
// oppSql += ' and (OCM__c = \'H0\' or OCM__c = \'H1\')';
@@ -162,6 +165,7 @@
//2021-11-26 yjk 璇环浠诲姟澧炲姞娲惧彂鍘熷洜瀛楁
+ newTask.OCSM_RMB_Without_Tax_1000__c = opp.OCSM_RMB_Without_Tax_1000__c; //2022-2-28 yjk 銆愬鎵樸�戙�愯浠蜂换鍔°�戣浠蜂换鍔℃淳閫佹椂鐐瑰瓧娈佃褰曞鍔�
if(opp.Close_Forecasted_Date__c >= nextMonthFirstDay && opp.Close_Forecasted_Date__c<= nnexMonthLastDay){
if(
--
Gitblit v1.9.1