From e221e58280a76a2ea587006f6678296c6281db22 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Fri, 3 Mar 2023 19:47:57 +0800 Subject: [PATCH] - --- .../SqlServer/SqlBuilder/SqlServerExpressionContext.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Src/Asp.Net/SqlSugar/Realization/SqlServer/SqlBuilder/SqlServerExpressionContext.cs b/Src/Asp.Net/SqlSugar/Realization/SqlServer/SqlBuilder/SqlServerExpressionContext.cs index 7a5cb5081..07a735a67 100644 --- a/Src/Asp.Net/SqlSugar/Realization/SqlServer/SqlBuilder/SqlServerExpressionContext.cs +++ b/Src/Asp.Net/SqlSugar/Realization/SqlServer/SqlBuilder/SqlServerExpressionContext.cs @@ -1,5 +1,4 @@ -using Newtonsoft.Json.Linq; -using System; +using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; @@ -88,7 +87,7 @@ namespace SqlSugar private string GetJson(object memberName1, object memberName2, bool isLast) { - return $"JSON_VALUE({memberName1}, '$.'+" + memberName2 + ")"; + return $"JSON_VALUE({memberName1}, '$.'+"+memberName2+")"; } public override string JsonListObjectAny(MethodCallExpressionModel model) @@ -106,4 +105,5 @@ namespace SqlSugar ); } } + } \ No newline at end of file