From 2bb4a2bc34048f49815846db354b5c8994669a3c Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 09 五月 2022 17:48:43 +0800
Subject: [PATCH] SF PIPL Page Backup

---
 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