From 1b1347f2e6d40aa75bbfdfb4789d60efeff13ea8 Mon Sep 17 00:00:00 2001
From: GWY <guweiyiscp096@foxmail.com>
Date: 星期五, 15 四月 2022 09:41:12 +0800
Subject: [PATCH] LS内贸未发货和以后的不显示二级经营证(临时)
---
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