From 328f88860984a2a8c91b652cbc733edddadd249e Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sun, 16 Jul 2023 13:04:28 +0800 Subject: [PATCH] Update exp to sql --- .../ResolveItems/MemberInitExpressionResolve.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MemberInitExpressionResolve.cs b/Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MemberInitExpressionResolve.cs index d007d510c..413447cfe 100644 --- a/Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MemberInitExpressionResolve.cs +++ b/Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MemberInitExpressionResolve.cs @@ -53,7 +53,7 @@ namespace SqlSugar var type = expression.Type; var memberName = this.Context.GetDbColumnName(type.Name, memberAssignment.Member.Name); var item = memberAssignment.Expression; - + item = ExpressionTool.RemoveConvert(item); //Column IsJson Handler if (memberAssignment.Member.CustomAttributes != null) {