From 5835379ec30b1667c4e522db9d294c9b7bb8633a Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 26 四月 2022 12:00:31 +0800
Subject: [PATCH] SSBG Back up
---
force-app/main/default/classes/SSOpportunitySchedule.cls | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/force-app/main/default/classes/SSOpportunitySchedule.cls b/force-app/main/default/classes/SSOpportunitySchedule.cls
index 5e73125..0a682ce 100644
--- a/force-app/main/default/classes/SSOpportunitySchedule.cls
+++ b/force-app/main/default/classes/SSOpportunitySchedule.cls
@@ -1,29 +1,5 @@
global class SSOpportunitySchedule implements Schedulable {
global void execute(SchedulableContext SC) {
- /*Date toDate = Date.today();
- Date yesterDate = toDate.addDays(-1);
- Date mon1stDate = Date.newInstance(toDate.year(), toDate.month(), 1);
- Integer workdays = UpdateUserTextColBatch.getOlympusWorkDayCount(mon1stDate, toDate);
- Integer workdays1 = UpdateUserTextColBatch.getOlympusWorkDayCount(mon1stDate, yesterDate);
- System.debug('mon1stDate=' + mon1stDate);
- System.debug('today=' + toDate);
- System.debug('workdays=' + workdays);
- Integer SSBacth_Execute_Day = Integer.valueOf(System.Label.SSBacth_Execute_Day);
- if (workdays1 != SSBacth_Execute_Day && workdays == SSBacth_Execute_Day) {
- Id execBTId = Database.executeBatch(new SSOpportunityBatch(null), 100);
- }*/
- //7鍙疯繍琛�8鍙蜂笉杩愯 ==鐩存帴鍐欐 2021骞�10鏈�7鍙锋墽琛� update by rentx
- /*String todayStr = Datetime.now().format('yyyy/MM/dd');
- if (todayStr == '2021/10/07') {
- Id execBTId = Database.executeBatch(new SSOpportunityBatch(null), 100);
- }*/
-
- //姣忔湀1鍙疯繍琛� SWAG-C7ZC4L rentx start
- String todayStr = Datetime.now().format('yyyy/MM/dd');
- if (todayStr.endsWith('01')) {
Id execBTId = Database.executeBatch(new SSOpportunityBatch(null), 100);
}
- //姣忔湀1鍙疯繍琛� SWAG-C7ZC4L rentx end
-
- }
}
\ No newline at end of file
--
Gitblit v1.9.1