From 9b197b7fac92278fb591ea8f4942c7d5687cb5ce Mon Sep 17 00:00:00 2001
From: 李金换 <lijinhuan@prec-tech.com>
Date: 星期一, 28 三月 2022 18:01:22 +0800
Subject: [PATCH] LJPH-C8FB4P【委托】配合PBI设备覆盖率的数据准备0328
---
force-app/main/default/classes/ConsumAutoSelectBatch.cls | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/force-app/main/default/classes/ConsumAutoSelectBatch.cls b/force-app/main/default/classes/ConsumAutoSelectBatch.cls
index 58b7a42..8e37ca3 100644
--- a/force-app/main/default/classes/ConsumAutoSelectBatch.cls
+++ b/force-app/main/default/classes/ConsumAutoSelectBatch.cls
@@ -10,9 +10,11 @@
// 2021-03-05 mzy WLIG-BYHD79 SFDC鐜batch鍚堝苟璋冩煡 start
global ConsumAutoSelectBatch( ) {
}
- global ConsumAutoSelectBatch(Boolean NeedExecute) {
- this.IsNeedExecute = NeedExecute;
- }
+ // 20220309 ljh SFDC-CC73U5 132 鍔ㄧ墿瀹為獙&ET灞曠 閿佸畾宸茶繃鏈熷簱瀛� start
+ // global ConsumAutoSelectBatch(Boolean NeedExecute) {
+ // this.IsNeedExecute = NeedExecute;
+ // }
+ // 20220309 ljh SFDC-CC73U5 132 鍔ㄧ墿瀹為獙&ET灞曠 閿佸畾宸茶繃鏈熷簱瀛� end
// 2021-03-05 mzy WLIG-BYHD79 SFDC鐜batch鍚堝苟璋冩煡 end
/**
@@ -100,10 +102,10 @@
}
//2021-03-05 mzy WLIG-BYHD79 SFDC鐜batch鍚堝苟璋冩煡 start
- if(!Test.isRunningTest() &&IsNeedExecute==true){
- //batch閲岃皟鐢ㄤ笅涓�涓猙atch鏃讹紝甯屾湜璺熷師鏈夌殑Schedule閲岄潰浼犵殑鏉℃暟淇濇寔涓�鑷�
- Id execBTId = Database.executebatch(new SetOlympusCalendarWorkDayBatch(true),200);
- }
+ // if(!Test.isRunningTest() &&IsNeedExecute==true){
+ // //batch閲岃皟鐢ㄤ笅涓�涓猙atch鏃讹紝甯屾湜璺熷師鏈夌殑Schedule閲岄潰浼犵殑鏉℃暟淇濇寔涓�鑷�
+ // Id execBTId = Database.executebatch(new SetOlympusCalendarWorkDayBatch(true),200);
+ // }
//2021-03-05 mzy WLIG-BYHD79 SFDC鐜batch鍚堝苟璋冩煡 end
}
--
Gitblit v1.9.1