From 85b18058da15575cbf98fc0227d231eb205bc30d Mon Sep 17 00:00:00 2001
From: sunxia <sunxia@prec-tech.com>
Date: 星期一, 18 四月 2022 17:04:57 +0800
Subject: [PATCH] WLIG-CDHFT8 【委托】一次性耗材产品QIS邮件提醒问题反馈
---
force-app/main/default/classes/SoqlHelper.cls | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/classes/SoqlHelper.cls b/force-app/main/default/classes/SoqlHelper.cls
index fa51220..235a28a 100644
--- a/force-app/main/default/classes/SoqlHelper.cls
+++ b/force-app/main/default/classes/SoqlHelper.cls
@@ -31,7 +31,7 @@
}
- public static string WId(string wid){
+ public static string WId(object wid){
return '\'' + wid + '\'';
}
@@ -43,6 +43,7 @@
return string.join(lo, ',');
}
+ /*
public static string ToInCondition(List<AggregateResult> lar ,string key)
{
if(lar==null || lar.size() == 0)
@@ -69,7 +70,7 @@
ss+=') ';
return ss;
}
-
+ */
public static string ToInCondition(Set<string> so){
return ToInCondition(new List<string>(so));
}
@@ -92,7 +93,7 @@
if(so_list == null || so_list.size() == 0)return;
update so_list;
}
-
+ /*
public static Map<string,Database.UpsertResult> UpsertList(List<Sobject> so_list, Schema.SObjectField field)
{
Map<string,Database.UpsertResult> mid = new Map<string,Database.UpsertResult>();
@@ -118,7 +119,7 @@
}
return mid;
}
-
+ */
public static void DeleteList(List<Sobject> so_list)
{
if(so_list == null || so_list.size() == 0)return;
--
Gitblit v1.9.1