Update exp to sql

This commit is contained in:
sunkaixuan 2023-11-10 20:45:20 +08:00
parent 0e63022f6c
commit 99cb8dd3ed
2 changed files with 5 additions and 1 deletions

View File

@ -838,6 +838,10 @@ namespace SqlSugar
else
{
result= GetExpressionValue(expression, this.SelectType).GetResultString();
if (result == null && ExpressionTool.GetMethodName(ExpressionTool.GetLambdaExpressionBody(expression)) == "End")
{
result = GetExpressionValue(expression, ResolveExpressType.FieldSingle).GetResultString();
}
}
if (result == null&& this.AppendNavInfo?.AppendProperties==null)
{

View File

@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.115-preview10</version>
<version>5.1.4.115-preview22</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>