mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-26 14:15:50 +08:00
Synchronization code
This commit is contained in:
@@ -90,6 +90,11 @@ namespace SqlSugar
|
||||
return SqlTranslationLeft + name.ToUpper(IsUpper).TrimEnd('"').TrimStart('"') + SqlTranslationRight;
|
||||
}
|
||||
}
|
||||
public override string GetUnionFomatSql(string sql)
|
||||
{
|
||||
return " ( " + sql + " ) ";
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
|
||||
@@ -90,6 +90,7 @@ namespace SqlSugar
|
||||
if (this.GetGroupByString==null&&this.Take == 1 && this.Skip == 0&&oldOrderBy== "ORDER BY sysdate ")
|
||||
{
|
||||
result = $" {sql.ToString()} {(this.WhereInfos.Any()?"AND":"WHERE")} ROWNUM = 1 ";
|
||||
result = result.Replace(rowNumberString, " ");
|
||||
}
|
||||
if (ExternalPageIndex > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user