mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-21 15:39: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))
|
if (item.Type == typeof(JoinType))
|
||||||
{
|
{
|
||||||
|
var joinValue = item.ObjToString();
|
||||||
|
if (joinValue.Contains("("))
|
||||||
|
{
|
||||||
|
joinValue = ExpressionTool.DynamicInvoke(item).ObjToString();
|
||||||
|
}
|
||||||
if (i > 0)
|
if (i > 0)
|
||||||
{
|
{
|
||||||
base.Context.Result.Append("," + item.ToString()+ ",");
|
base.Context.Result.Append("," + joinValue + ",");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
base.Context.Result.Append(item.ToString() + ",");
|
base.Context.Result.Append(joinValue + ",");
|
||||||
}
|
}
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user