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/EventToEventDetailsSchedule.cls | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/classes/EventToEventDetailsSchedule.cls b/force-app/main/default/classes/EventToEventDetailsSchedule.cls
index 447d19f..44e7757 100644
--- a/force-app/main/default/classes/EventToEventDetailsSchedule.cls
+++ b/force-app/main/default/classes/EventToEventDetailsSchedule.cls
@@ -1,8 +1,17 @@
global class EventToEventDetailsSchedule implements Schedulable {
global void execute(SchedulableContext sc) {
- // 2021-03-09 mzy WLIG-BYHD79 SFDC鐜batch鍚堝苟璋冩煡 start
- //Id execBTId = Database.executeBatch(new EventToEventDetailsBatch(), 20);
- Id execBTId = Database.executeBatch(new EventToEventDetailsBatch(true), 20);
- // 2021-03-09 mzy WLIG-BYHD79 SFDC鐜batch鍚堝苟璋冩煡 end
+ Id execBTId = Database.executeBatch(new EventToEventDetailsBatch(), 20);
+
+ // List < String > accountIdList = new List<String>();
+ // for (Asset acc :[SELECT Id,Hospital__c,Product2.ServiceCategory__c,Product2.Maintenance_Price_Year__c
+ // FROM Asset WHERE IF_Coverage_Target_Asset_F__c=1]) {
+ // if(!accountIdList.contains(acc.Hospital__c)){
+ // accountIdList.add(acc.Hospital__c);
+ // }
+ // }
+
+ // Id execBTId1 = Database.executebatch(new EquipmentRepairBatch(accountIdList),20);
+ Id execBTId1 = Database.executebatch(new EquipmentRepairBatch(),20);
+
}
}
\ No newline at end of file
--
Gitblit v1.9.1