mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-20 15:09:33 +08:00
Update exp to sql
This commit is contained in:
parent
0f796ceace
commit
cd8f282523
@ -66,13 +66,18 @@ namespace SqlSugar
|
||||
}
|
||||
if (item.Type == typeof(JoinType))
|
||||
{
|
||||
var joinValue = item.ObjToString();
|
||||
if (joinValue.Contains("("))
|
||||
{
|
||||
joinValue = ExpressionTool.DynamicInvoke(item).ObjToString();
|
||||
}
|
||||
if (i > 0)
|
||||
{
|
||||
base.Context.Result.Append("," + item.ToString()+ ",");
|
||||
base.Context.Result.Append("," + joinValue + ",");
|
||||
}
|
||||
else
|
||||
{
|
||||
base.Context.Result.Append(item.ToString() + ",");
|
||||
base.Context.Result.Append(joinValue + ",");
|
||||
}
|
||||
++i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user