From 4420517bbbffea48cabe7a7dcdf2e1c4b440fc85 Mon Sep 17 00:00:00 2001
From: GWY <guweiyi@prec-tech.com>
Date: 星期一, 30 五月 2022 16:15:26 +0800
Subject: [PATCH] 两个LS特殊条件在说明的增减
---
force-app/main/default/classes/LoanerPortionReturnController.cls | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/LoanerPortionReturnController.cls b/force-app/main/default/classes/LoanerPortionReturnController.cls
index dc45f15..9e4731f 100644
--- a/force-app/main/default/classes/LoanerPortionReturnController.cls
+++ b/force-app/main/default/classes/LoanerPortionReturnController.cls
@@ -8,6 +8,7 @@
public loaner_application__c la { get; private set; }
public boolean isOk {get; private set; }
public String step { get; private set; }
+ public String staticResource { get; private set; }// Update PIPL 20220425 By Chen Yanan
public String loanerType {get; private set; }
// 鏄庣粏Bean
@@ -20,6 +21,7 @@
public LoanerPortionReturnController() {
laId = System.currentPageReference().getParameters().get('id');
step = System.currentPageReference().getParameters().get('step');
+ staticResource = JSON.serialize(PIHelper.getPIIntegrationInfo('loaner_application__c'));// Update PIPL 20220425 By Chen Yanan
}
public PageReference init() {
@@ -42,7 +44,7 @@
}
// 鏍锋満鍊熷嚭鐢宠鍙栧緱
- List<loaner_application__c> laList = [select Id,loaner_request_number__c,Return_Trake_Staff__c,Return_Track_Company__c,Return_Track_Number__c,Status__c,HP_Received_Sign_Date__c,RecordType.DeveloperName,loaner_manage_place__c,Equipment_Type__c from loaner_application__c where Id = :laId];
+ List<loaner_application__c> laList = [select Id,AWS_Data_Id__c,loaner_request_number__c,Return_Trake_Staff__c,Return_Track_Company__c,Return_Track_Number__c,Status__c,HP_Received_Sign_Date__c,RecordType.DeveloperName,loaner_manage_place__c,Equipment_Type__c from loaner_application__c where Id = :laId]; //Update PIPL 20220425 By Chen Yanan
if (laList.size() == 0) {
return null;
}
@@ -56,6 +58,7 @@
lac = new loaner_application__c();
lac.Return_Track_Company__c = la.Return_Track_Company__c;
lac.Return_Track_Number__c = la.Return_Track_Number__c;
+ lac.AWS_Data_Id__c = la.AWS_Data_Id__c; //Update PIPL 20220425 By Chen Yanan
lac.return_Number__c = '';
if(la.Return_Trake_Staff__c != null){
lac.Return_Trake_Staff__c = la.Return_Trake_Staff__c;
--
Gitblit v1.9.1