From 25173e4fb0328686679468d902b1b2df2ebba50d Mon Sep 17 00:00:00 2001 From: 黄千龙 <huangqianlong@prec-tech.com> Date: 星期五, 11 三月 2022 15:14:33 +0800 Subject: [PATCH] 20220311黄千龙 --- force-app/main/default/classes/EquipmentRenewBatch.cls | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/force-app/main/default/classes/EquipmentRenewBatch.cls b/force-app/main/default/classes/EquipmentRenewBatch.cls index 829fcce..23d93ac 100644 --- a/force-app/main/default/classes/EquipmentRenewBatch.cls +++ b/force-app/main/default/classes/EquipmentRenewBatch.cls @@ -41,7 +41,7 @@ global void execute(Database.BatchableContext BC, list<Account> Accounts) { List<Account_Service_Of_Target__c> asots = new List<Account_Service_Of_Target__c>(); List<Id> accIds = new List<Id>(); - Map<Id,Account_Service_Of_Target__c> asotMap = new Map<Id,Account_Service_Of_Target__c>(); + Map<String,Account_Service_Of_Target__c> asotMap = new Map<String,Account_Service_Of_Target__c>(); for (Account acc1 : Accounts) { accIds.add(acc1.id); } -- Gitblit v1.9.1