mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 04:35:29 +08:00
Update mysql sub.tolist
This commit is contained in:
parent
400e762222
commit
b99103494c
@ -26,5 +26,14 @@ namespace SqlSugar
|
||||
{
|
||||
return " ( " + sql + " ) ";
|
||||
}
|
||||
|
||||
public override string RemoveParentheses(string sql)
|
||||
{
|
||||
if (sql.Contains(" Order By "))
|
||||
{
|
||||
sql = $" SELECT * FROM {sql} MYSQL_UNIONALL_ITEM ";
|
||||
}
|
||||
return sql;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user