Update mysql sub.tolist

This commit is contained in:
sunkaixuan 2025-05-21 15:43:18 +08:00
parent 400e762222
commit b99103494c

View File

@ -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;
}
}
}