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/NFM624Batch.cls | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/classes/NFM624Batch.cls b/force-app/main/default/classes/NFM624Batch.cls
index b99180b..5ec1c64 100644
--- a/force-app/main/default/classes/NFM624Batch.cls
+++ b/force-app/main/default/classes/NFM624Batch.cls
@@ -7,15 +7,17 @@
}
global Database.QueryLocator start(Database.BatchableContext bc) {
-
- return Database.getQueryLocator([select Id, NFM624_Secondary_processing__c from BatchIF_Log__c where NFM624_Secondary_processing__c = false AND Type__C = 'NFM624' AND RowDataFlg__c = true AND retry_cnt__c < 3 AND Is_Error__c != 1]);
+ //return Database.getQueryLocator([select Id, NFM624_Secondary_processing__c from BatchIF_Log__c where NFM624_Secondary_processing__c = false AND Type__C = 'NFM624' AND RowDataFlg__c = true AND retry_cnt__c < 3 AND Is_Error__c != 1]);
+ return Database.getQueryLocator([select Id, NFM624_Secondary_processing__c from BatchIF_Log__c where NFM624_Secondary_processing__c = false AND Type__C = 'NFM624Rest2' AND RowDataFlg__c = true AND retry_cnt__c < 3 AND Is_Error__c != 1]); //zhj 鏂版柟妗堟敼閫� NFM624Rest2 2023-01-06
}
global void execute(Database.BatchableContext BC, list<BatchIF_Log__c> scope) {
for(BatchIF_Log__c temp :scope){
//temp.NFM624_Secondary_processing__c = false;
- NFM624Rest.main(temp.id);
+ //NFM624Rest.main(temp.id);
+ if(!Test.isRunningTest())
+ NFMUtil.batchSendToAWS624(temp.id); //zhj 鏂版柟妗堟敼閫� 璋冪敤AWS鐨�624鎺ュ彛 2022-01-06
//updateprocessingList.add(temp);
}
}
--
Gitblit v1.9.1