From d79fcb2a960e8b0e18fe039d892f98187b08866d Mon Sep 17 00:00:00 2001
From: 李彤 <litong@prec-tech.com>
Date: 星期五, 23 九月 2022 18:24:58 +0800
Subject: [PATCH] 招标项目失单报告
---
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