From ba1c90575c47f9cb5c2ce0a20da90d3b1739b5fa Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 26 四月 2022 11:47:45 +0800
Subject: [PATCH] 0425 Commit

---
 force-app/main/default/classes/SoqlHelper.cls |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/force-app/main/default/classes/SoqlHelper.cls b/force-app/main/default/classes/SoqlHelper.cls
index 446706f..6c06e16 100644
--- a/force-app/main/default/classes/SoqlHelper.cls
+++ b/force-app/main/default/classes/SoqlHelper.cls
@@ -43,7 +43,7 @@
         return string.join(lo, ',');
     }
 
-    public static string ToInCondition(List<AggregateResult> lar ,string key)
+    /*public static string ToInCondition(List<AggregateResult> lar ,string key)
     {
         if(lar==null || lar.size() == 0)
         {
@@ -68,7 +68,7 @@
         }
         ss+=') ';
         return ss;
-    }
+    }*/
     
     public static string ToInCondition(Set<string> so){
         return ToInCondition(new List<string>(so));
@@ -80,7 +80,7 @@
         lo = new List<object>(so);
         return '(\''+ string.join(lo, '\',\'')+'\')';
     }
-    
+    /*
     public static void InsertList(List<Sobject> so_list)
     {
         if(so_list == null || so_list.size() == 0)return;
@@ -93,7 +93,7 @@
         update so_list;
     }
     
-    /*public static Map<string,Database.UpsertResult> UpsertList(List<Sobject> so_list, Schema.SObjectField field)
+    public static Map<string,Database.UpsertResult> UpsertList(List<Sobject> so_list, Schema.SObjectField field)
     {
         Map<string,Database.UpsertResult> mid = new Map<string,Database.UpsertResult>();
         if(so_list == null || so_list.size() == 0)return mid;
@@ -117,7 +117,7 @@
             index++;
         }
         return mid;
-    }*/
+    }
     
     public static void DeleteList(List<Sobject> so_list)
     {
@@ -131,6 +131,6 @@
     {
         if(id_list == null || id_list.size() == 0)return;
         Database.delete(id_list);
-    }
+    }*/
     
 }
\ No newline at end of file

--
Gitblit v1.9.1