From ee915c5009a0ecff56488487039d32b3643f8456 Mon Sep 17 00:00:00 2001
From: 李金换 <lijinhuan@prec-tech.com>
Date: 星期三, 30 十一月 2022 16:50:28 +0800
Subject: [PATCH] Merge branch '集采'

---
 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