From df88e7aa73e7c230881843a4be44033b98077dc4 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期二, 17 五月 2022 13:18:18 +0800
Subject: [PATCH] SWAG-CDP5KN 【委托】电子签收单RPA系统迁移 修改
---
force-app/main/default/classes/NFM116Batch.cls | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/NFM116Batch.cls b/force-app/main/default/classes/NFM116Batch.cls
index b19d9d4..e51bd4d 100644
--- a/force-app/main/default/classes/NFM116Batch.cls
+++ b/force-app/main/default/classes/NFM116Batch.cls
@@ -36,7 +36,7 @@
}
global Database.QueryLocator start(Database.BatchableContext bc) {
- String query = 'select Id from eSignForm__c where agencyAcceptSAPResult__c != null and HPAcceptSAPResult__c != null ';
+ String query = 'select Id from eSignForm__c where (agencyAcceptSAPResult__c != null or HPAcceptSAPResult__c != null) ';
if(String.isNotBlank(setId)){
query += ' and Id =: setId ';
} else if (setIdList != null && setIdList.size() > 0) {
--
Gitblit v1.9.1