From 226ec1cbf306ab7566e738594d5d8e68bdf98cf7 Mon Sep 17 00:00:00 2001
From: 游畅 <youchang@prec-tech.com>
Date: 星期二, 04 四月 2023 09:45:44 +0800
Subject: [PATCH] 20230329-询价中的今年相关字段增加和修改+现场修理逻辑+停止hr信息同步用户
---
force-app/main/default/classes/EventToEventDetailsSchedule.cls | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/EventToEventDetailsSchedule.cls b/force-app/main/default/classes/EventToEventDetailsSchedule.cls
index bdb3d0b..44e7757 100644
--- a/force-app/main/default/classes/EventToEventDetailsSchedule.cls
+++ b/force-app/main/default/classes/EventToEventDetailsSchedule.cls
@@ -1,5 +1,17 @@
global class EventToEventDetailsSchedule implements Schedulable {
global void execute(SchedulableContext sc) {
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