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/Opportunity_Shipments_ForecastBatch.cls | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/Opportunity_Shipments_ForecastBatch.cls b/force-app/main/default/classes/Opportunity_Shipments_ForecastBatch.cls
index 0f80904..ce7cb71 100644
--- a/force-app/main/default/classes/Opportunity_Shipments_ForecastBatch.cls
+++ b/force-app/main/default/classes/Opportunity_Shipments_ForecastBatch.cls
@@ -47,6 +47,10 @@
query += ' and Sales_Root__c != \'\'';
//20190107 --------addEnd---------
query += ' and Salesdepartment_Owner__c != \'澶栫浜嬩笟鏈儴\'';
+ // 20220928 ljh SWAG-CJMCZ4 start
+ query += ' and (ConfirmationofAward__c != \'绔炰簤瀵规墜涓爣\'';
+ query += ' OR (ConfirmationofAward__c = \'绔炰簤瀵规墜涓爣\' and Competitor__c != \'A1\' and Competitor__c != \'A\'))';
+ // 20220928 ljh SWAG-CJMCZ4 end
System.debug('+++11111111--query--111111111111+++++' + query);
return Database.getQueryLocator(query);
@@ -61,6 +65,10 @@
query += ' and StageName__c != \'澶卞崟\'';
query += ' and Sales_Root__c != \'\'';
query += ' and Salesdepartment_Owner__c != \'澶栫浜嬩笟鏈儴\'';
+ // 20220928 ljh SWAG-CJMCZ4 start
+ query += ' and (ConfirmationofAward__c != \'绔炰簤瀵规墜涓爣\'';
+ query += ' OR (ConfirmationofAward__c = \'绔炰簤瀵规墜涓爣\' AND Competitor__c != \'A1\' and Competitor__c != \'A\'))';
+ // 20220928 ljh SWAG-CJMCZ4 end
System.debug('+++11111111--姝e父Batch鎵цquery--111111111111+++++' + query);
return Database.getQueryLocator(query);
--
Gitblit v1.9.1