From f5a94e721ae5a26f817f0df75065b64f1f192eb3 Mon Sep 17 00:00:00 2001 From: Li Jun <buli@deloitte.com.cn> Date: 星期一, 28 三月 2022 21:43:51 +0800 Subject: [PATCH] PIPLFunctionDeploy0328 --- 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