From d79fcb2a960e8b0e18fe039d892f98187b08866d Mon Sep 17 00:00:00 2001
From: 李彤 <litong@prec-tech.com>
Date: 星期五, 23 九月 2022 18:24:58 +0800
Subject: [PATCH] 招标项目失单报告
---
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 1aaee51..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