From e3c02c03dd2de442bbced87236f60a13a1cd154e Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 02 三月 2023 17:51:57 +0800
Subject: [PATCH] gzw 正式环境最新代码更新
---
force-app/main/default/classes/RentalFixtureSetAssignController.cls | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/force-app/main/default/classes/RentalFixtureSetAssignController.cls b/force-app/main/default/classes/RentalFixtureSetAssignController.cls
index 7807f61..7ade00d 100644
--- a/force-app/main/default/classes/RentalFixtureSetAssignController.cls
+++ b/force-app/main/default/classes/RentalFixtureSetAssignController.cls
@@ -901,7 +901,7 @@
}
}
}
- update queueList;
+ FixtureUtil.withoutUpdate(queueList);
List<String> nodusequencekeylist = new List<String>(new Set<String>(sequencekeylist));
List<Rental_Apply_Sequence__c> updateSequenceList = new List<Rental_Apply_Sequence__c>();
List<Rental_Apply_Sequence__c> applysequenceList = [SELECT Id,ExternalKey__c,Demo_Purpose2__c,
@@ -940,7 +940,7 @@
}
}
- update updateSequenceList;
+ FixtureUtil.withoutUpdate(updateSequenceList);
}
}
@@ -1207,9 +1207,11 @@
updateList.addAll(queueList);
System.debug(LoggingLevel.INFO, '***old updateList: ' + updateList.size());
+ System.debug(LoggingLevel.INFO, '***old updateList.detail: ' + updateList);
updateList = Batch_QueueAllDetail.getSortDetailList(updateList);
System.debug(LoggingLevel.INFO, '*** updateList: ' + updateList.size());
- update updateList;
+ System.debug(LoggingLevel.INFO, '*** updateList.detail: ' + updateList);
+ FixtureUtil.withoutUpdate(updateList);
System.debug(LoggingLevel.INFO, '*** allsequenceList: ' + allsequenceList.size());
List<Rental_Apply_Sequence__c> oldSequenceList = [SELECT Id,ExternalKey__c,Fixture_Model_No__c FROM Rental_Apply_Sequence__c
@@ -1226,11 +1228,11 @@
List<Rental_Apply_Sequence__c> olddleteSequenceList = [SELECT Id,ExternalKey__c,Fixture_Model_No__c FROM Rental_Apply_Sequence__c
WHERE Apply_Set_Detail__c IN:changeddetailIds];
- delete olddleteSequenceList;
+ FixtureUtil.withoutDelete(olddleteSequenceList);
if(updateList.size() + count + oldSequenceList.size() + allsequenceList.size() > 9900){
throw new ControllerUtil.myException('褰撳墠鎺掗槦鏁版嵁閲忚繃澶э紝璇烽�夋嫨鍗曚釜涓讳綋鎿嶄綔');
}
- insert allsequenceList;
+ FixtureUtil.withoutInsert(allsequenceList);
List<String> newSequenceIds = new List<String>();
for(Rental_Apply_Sequence__c se:allsequenceList){
newSequenceIds.add(se.Id);
@@ -1279,7 +1281,7 @@
throw new ControllerUtil.myException('褰撳墠鎺掗槦鏁版嵁閲忚繃澶э紝璇烽�夋嫨鍗曚釜涓讳綋鎿嶄綔');
}
System.debug(LoggingLevel.INFO, '*** newSequenceList: ' + newSequenceList);
- upsert newSequenceList;
+ FixtureUtil.withoutUpsertObjects(newSequenceList);
}
--
Gitblit v1.9.1