From 777cbf73e5c136ca97fdfdad9c5b429462d65742 Mon Sep 17 00:00:00 2001
From: 沙世明 <shashiming@prec-tech.com>
Date: 星期四, 31 三月 2022 16:14:01 +0800
Subject: [PATCH] CHAN-CD259N
---
force-app/main/default/classes/PIHelper.cls | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/classes/PIHelper.cls b/force-app/main/default/classes/PIHelper.cls
index b83a4a5..929bbc9 100644
--- a/force-app/main/default/classes/PIHelper.cls
+++ b/force-app/main/default/classes/PIHelper.cls
@@ -127,10 +127,10 @@
traLog.TransId__c = transId;
Integer MaxLogColumnLength = 131072;
if (!String.isEmpty(sfRecordId)) {
- traLog.SFRecordId__c=sfRecordId.substring(0, (sfRecordId.length() > MaxLogColumnLength ? MaxLogColumnLength : sfRecordId.length()));
+ traLog.Request__c=sfRecordId.substring(0, (sfRecordId.length() > MaxLogColumnLength ? MaxLogColumnLength : sfRecordId.length()));
}else {
String sfIds =JSON.serialize(idList);
- traLog.SFRecordId__c=sfIds.substring(0, (sfIds.length() > MaxLogColumnLength ? MaxLogColumnLength : sfIds.length()));
+ traLog.Request__c=sfIds.substring(0, (sfIds.length() > MaxLogColumnLength ? MaxLogColumnLength : sfIds.length()));
}
if(isSuccess==0){
traLog.Status__c = 'fail';
--
Gitblit v1.9.1