From e3c02c03dd2de442bbced87236f60a13a1cd154e Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 02 三月 2023 17:51:57 +0800
Subject: [PATCH] gzw 正式环境最新代码更新

---
 force-app/main/default/classes/NFM503InfoFileBatch.cls |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/force-app/main/default/classes/NFM503InfoFileBatch.cls b/force-app/main/default/classes/NFM503InfoFileBatch.cls
index 25c2b6b..1a55477 100644
--- a/force-app/main/default/classes/NFM503InfoFileBatch.cls
+++ b/force-app/main/default/classes/NFM503InfoFileBatch.cls
@@ -30,6 +30,9 @@
 
     global Database.QueryLocator start(Database.BatchableContext bc) {
         String query = 'select Id, Tender_information__c, infoAddress__c, ' +
+                        // SWAG-C9S9P6 鏂板瀛楁 2022-05-25 ssm start
+                        'Tender_information__r.InfoId__c, Tender_information__r.subInfoType__c, ' +    
+                        // SWAG-C9S9P6 鏂板瀛楁 2022-05-25 ssm end 
                         'Tender_information__r.InfoType__c, isProcessed__c, ' +
                         ' ErrorMessage__c from bidInfoFile__c where isProcessed__c = false ';
         if (String.isNotBlank(TenId)) {
@@ -179,6 +182,12 @@
             file.DownloadLink__c =pi.undeleteUrl+(String)fileVO.get('key')+'&fileName='+file.FileName__c;
             file.ViewLink__c = pi.queryUrl+(String)fileVO.get('key');
             file.AWS_File_Key__c =(String)fileVO.get('key');
+            // SWAG-C9S9P6 鏂板瀛楁 start
+            file.InfoId__c = bidInfoFile.Tender_information__r.InfoId__c;
+            file.InfoType__c = bidInfoFile.Tender_information__r.InfoType__c;
+            file.subInfoType__c = bidInfoFile.Tender_information__r.subInfoType__c;
+            file.UpdateDate__c = Date.today(); 
+            // SWAG-C9S9P6 鏂板瀛楁 end
             fileList.add(file);
             sp = Database.setSavepoint();
 

--
Gitblit v1.9.1