From a48ed9f335db52a433a2b343ff9636a28ee8a97f Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期四, 10 三月 2022 18:53:59 +0800
Subject: [PATCH] New xml file for PIPL20220310
---
force-app/main/default/classes/Consumable7daysBatch.cls | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/classes/Consumable7daysBatch.cls b/force-app/main/default/classes/Consumable7daysBatch.cls
index 01af344..b122d1a 100644
--- a/force-app/main/default/classes/Consumable7daysBatch.cls
+++ b/force-app/main/default/classes/Consumable7daysBatch.cls
@@ -2,9 +2,16 @@
//缁熻鍙戣揣瓒呰繃7澶╂湭鏀惰揣
public String query;
- public Consumable7daysBatch() {
- this.query = query;//select id from Consumable_order_details2__c where Dealer_Arrive__c = false AND Dealer_Shipment__c = false AND Dealer_Saled__c = false
+ Boolean IsNeedExecute = false;
+ global Consumable7daysBatch() {
}
+ global Consumable7daysBatch(Boolean NeedExecute) {
+ this.IsNeedExecute = NeedExecute;
+ }
+
+ // public Consumable7daysBatch() {
+ // this.query = query;//select id from Consumable_order_details2__c where Dealer_Arrive__c = false AND Dealer_Shipment__c = false AND Dealer_Saled__c = false
+ // }
global Database.QueryLocator start(Database.BatchableContext bc) {
system.debug('start鏂规硶寮�濮�=================>');
// query = 'Select Consumable_order_minor__c,id from Consumable_order_details2__c WHERE Consumable_order_minor__c != null AND Dealer_Shipment__c = false AND Dealer_Arrive__c = false AND Dealer_Saled__c = false AND Deliver_date__c < LAST_N_DAYS:7 ORDER BY Consumable_order_minor__c';
--
Gitblit v1.9.1