From bfca7a84bec815da594f1d12558535ed06d2490b Mon Sep 17 00:00:00 2001
From: 沙世明 <shashiming@prec-tech.com>
Date: 星期二, 13 九月 2022 09:57:32 +0800
Subject: [PATCH] 本地提交备份
---
force-app/main/default/classes/SearchProductController.cls | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/SearchProductController.cls b/force-app/main/default/classes/SearchProductController.cls
index 09d65d9..e3dd9ad 100644
--- a/force-app/main/default/classes/SearchProductController.cls
+++ b/force-app/main/default/classes/SearchProductController.cls
@@ -12,6 +12,7 @@
public String trade {get;set;} // hidden闋呯洰銇嬨倝銈傘倝銇c仧 CNY 銇� USD 銇枃瀛楀垪
public String lineNo {get;set;} // 瑕敾闈€伄閬告姙銇椼仧琛�
public String val {get;set;} // 瑕敾闈€伄銇嬨倝銇绱㈡枃瀛楀垪
+ public String celon {get;set;} // 瑕敾闈€伄銇嬨倝銇绱㈡枃瀛楀垪 Celon璇环澧炲姞 2022-04-24 ssm
public String SearchName {get;set;} // 妞滅储鏂囧瓧鍒�
@@ -22,6 +23,7 @@
// this.trade = Apexpages.currentPage().getParameters().get('trade');
this.lineNo = Apexpages.currentPage().getParameters().get('lineno');
this.val = Apexpages.currentPage().getParameters().get('val');
+ this.celon = Apexpages.currentPage().getParameters().get('celon');
if (val!=null && val!=''){
SearchName = val;
@@ -95,6 +97,11 @@
system.debug(' trade = '+ trade);
}
+ // Celon璇环淇敼 2022-04-24 ssm start
+ celon = String.isNotBlank(celon) ? celon : null;
+ whereSql += ' and Product2.Celon_Product__c = :celon ';
+ // Celon璇环淇敼 2022-04-24 ssm end
+
searchSql = searchSql + whereStr + whereSql;
//20211123 lt update 450 鍘�500
--
Gitblit v1.9.1