From 9b197b7fac92278fb591ea8f4942c7d5687cb5ce Mon Sep 17 00:00:00 2001
From: 李金换 <lijinhuan@prec-tech.com>
Date: 星期一, 28 三月 2022 18:01:22 +0800
Subject: [PATCH] LJPH-C8FB4P【委托】配合PBI设备覆盖率的数据准备0328
---
force-app/main/default/classes/NFM502Controller.cls | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/classes/NFM502Controller.cls b/force-app/main/default/classes/NFM502Controller.cls
index 128ebe1..c699cea 100644
--- a/force-app/main/default/classes/NFM502Controller.cls
+++ b/force-app/main/default/classes/NFM502Controller.cls
@@ -4,6 +4,7 @@
public static String transUrl;
public static String transId;
public static String token;
+ public static List<String> sfRecordIds =new List<String>();
//add staic sushanhu 20220302 end
public NFM502Controller(String rowData_id) {
this.rowData_id = rowData_id;
@@ -266,12 +267,15 @@
upsert fileList;
}
//纭浜嬪姟
- List<String> sfRecordIds = new List<String>();
+
for (FileAddress__c file : fileList) {
+ system.debug('file--'+json.serialize(file));
+ system.debug('file.id'+file.Id);
sfRecordIds.add(file.Id);
}
//update to aws pi sushanhu 20220301 end
- PIHelper.confirmFileTrans('NFM502',1,JSON.serialize(sfRecordIds),transId,token,transUrl);
+ // PIHelper.confirmFileTrans('NFM502',1,JSON.serialize(sfRecordIds),transId,token,transUrl);
+ PIHelper.insertConfirmTrans('NFM502',1,JSON.serialize(sfRecordIds),transId,0,transUrl,null);
// if (!confirm) {
// //鍥炴粴
// }
@@ -282,7 +286,8 @@
// System.debug(Logginglevel.ERROR, 'QLMData_' + rowData.MessageGroupNumber__c + ':' + ex.getStackTraceString());
// logstr += '\n' + ex.getMessage();
//add 浜嬪姟纭 sushanhu 20220302 satrt
- PIHelper.confirmFileTrans('NFM502',0,'',transId,token,transUrl);
+ // PIHelper.confirmFileTrans('NFM502',0,'',transId,token,transUrl);
+ PIHelper.insertConfirmTrans('NFM502',0,JSON.serialize(sfRecordIds),transId,0,transUrl,null);
//add 浜嬪姟纭 sushanhu 20220302 end
iflog502.ErrorLog__c = '502鎶涘嚭寮傚父锛�' + ex.getMessage() + '\n'
+ ex.getStackTraceString() + '\n' + iflog502.ErrorLog__c;
--
Gitblit v1.9.1