| | |
| | | |
| | | 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)) { |
| | |
| | | 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(); |
| | | |