From 09f9b45037960ba5cf28fe064117f51f41cc4ffe Mon Sep 17 00:00:00 2001 From: skx <610262374@qq.com> Date: Thu, 29 Oct 2020 16:31:01 +0800 Subject: [PATCH] Update core --- Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Utilities/UtilMethods.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Utilities/UtilMethods.cs b/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Utilities/UtilMethods.cs index bedb50a51..2563616ed 100644 --- a/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Utilities/UtilMethods.cs +++ b/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Utilities/UtilMethods.cs @@ -60,6 +60,7 @@ namespace SqlSugar itemSql = Regex.Replace(itemSql, string.Format(@"{0}\,", "\\" + itemParameter.ParameterName), newName + ",", RegexOptions.IgnoreCase); itemSql = Regex.Replace(itemSql, string.Format(@"{0}$", "\\" + itemParameter.ParameterName), newName, RegexOptions.IgnoreCase); itemSql = Regex.Replace(itemSql, string.Format(@"\+{0}\+", "\\" + itemParameter.ParameterName), "+"+newName+"+", RegexOptions.IgnoreCase); + itemSql = Regex.Replace(itemSql, string.Format(@"\|\|{0}\|\|", "\\" + itemParameter.ParameterName), "+" + newName + "+", RegexOptions.IgnoreCase); return itemSql; } internal static Type GetRootBaseType(Type entityType)