From ec47f5ab5923a315bf22e0df5af7371e9668589e Mon Sep 17 00:00:00 2001
From: 张宇恒 <bxyun0@163.com>
Date: 星期五, 23 十二月 2022 11:16:18 +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