From 7560140a14a60e949e6130d98225297e84f0a198 Mon Sep 17 00:00:00 2001 From: GWY <guweiyiscp096@foxmail.com> Date: 星期三, 06 四月 2022 17:22:30 +0800 Subject: [PATCH] class --- force-app/main/default/classes/SBG200Rest.cls | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/classes/SBG200Rest.cls b/force-app/main/default/classes/SBG200Rest.cls index 0398cd6..75b17eb 100644 --- a/force-app/main/default/classes/SBG200Rest.cls +++ b/force-app/main/default/classes/SBG200Rest.cls @@ -390,8 +390,8 @@ public static void deleteAccountLicenseInformation(Map<String, Account> accountMap) { System.debug('deleteAccountLicenseInformation--->Start'); - List<License_Information__c> existList = [select id, Name, AccountManagementCode__c - from License_Information__c where AccountManagementCode__c In :accountMap.keySet()]; + List<License_Information__c> existList = [select id, Name, AccountManagementCode__c,Is_Active_Formula__c + from License_Information__c where AccountManagementCode__c In :accountMap.keySet() and Is_Active_Formula__c = true]; if (existList.size() > 0) { delete existList; -- Gitblit v1.9.1