From 29ec8b29f26b7d4b92cc75820ca7988d464c0185 Mon Sep 17 00:00:00 2001
From: 黄千龙 <huangqianlong@prec-tech.com>
Date: 星期二, 29 三月 2022 13:39:07 +0800
Subject: [PATCH] Merge branch 'master' of http://47.92.229.245:8089/r/OlyMEBG

---
 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