From a48ed9f335db52a433a2b343ff9636a28ee8a97f Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期四, 10 三月 2022 18:53:59 +0800
Subject: [PATCH] New xml file for PIPL20220310
---
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