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/NewQuoteIraiController.cls | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/classes/NewQuoteIraiController.cls b/force-app/main/default/classes/NewQuoteIraiController.cls
index 3408bff..173ae57 100644
--- a/force-app/main/default/classes/NewQuoteIraiController.cls
+++ b/force-app/main/default/classes/NewQuoteIraiController.cls
@@ -104,12 +104,16 @@
// 璇环id
oppid = System.currentPageReference().getParameters().get('oppid');
+ //lastbuy 2022/3/10 fy start
QuoteIrai__c quoteiraiobj = new QuoteIrai__c();
if(oppid==null&&tenderid==null&&quoId!=null&&leadid==null&&agencyoppid==null){
quoteiraiobj = [select id,Note__c from QuoteIrai__c where id=:quoId];
- String[] quosub=quoteiraiobj.Note__c.split('/');
- oppid=quosub[quosub.size()-1];
+ if(quoteiraiobj.Note__c!=null){
+ String[] quosub=quoteiraiobj.Note__c.split('/');
+ oppid=quosub[quosub.size()-1];
+ }
}
+ //lastbuy 2022/3/10 fy start
system.debug('oppid:++++'+oppid);
// 鎶ヤ环id
String oppquoid = System.currentPageReference().getParameters().get('oppquoid');
--
Gitblit v1.9.1