From c9e23fe4ab15bc4b648a553d2172d0a74e1e1a74 Mon Sep 17 00:00:00 2001
From: l <511036524@qq.com>
Date: 星期五, 11 三月 2022 17:27:41 +0800
Subject: [PATCH] StateCityUtilTest

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

diff --git a/force-app/main/default/classes/RentalApplyTriggerHandler.cls b/force-app/main/default/classes/RentalApplyTriggerHandler.cls
index d0edbd7..871a874 100644
--- a/force-app/main/default/classes/RentalApplyTriggerHandler.cls
+++ b/force-app/main/default/classes/RentalApplyTriggerHandler.cls
@@ -695,7 +695,16 @@
         }
         //鎷疯礉鍖婚櫌鐨勫競瀛楁
         Map<Id, Account> accMap = new Map<Id, Account>();
+        // Set<Id> hpIdSetCopy = new Set<Id>();
+        // Integer count = 0;
         if (hpIdSet.size() > 0) {
+        //    for (Id a : hpIdSet) {
+        //        hpIdSetCopy.add(a);
+        //        count++;
+        //        if (count>=99) {
+        //           break; 
+        //        }
+        //    }
             accMap.putAll([SELECT Id, City_Master__r.Name, State_Text__c FROM Account WHERE Id IN: hpIdSet]);
             for (Rental_Apply__c nObj : newList) {
                 if (accMap.containsKey(nObj.Hospital__c)) {

--
Gitblit v1.9.1