mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Update exp to sql
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user