mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 12:33:44 +08:00
Update split table
This commit is contained in:
@@ -62,6 +62,10 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
this.OrderByValue = oldOrderValue;
|
this.OrderByValue = oldOrderValue;
|
||||||
result = GetSqlQuerySql(result);
|
result = GetSqlQuerySql(result);
|
||||||
|
if (result.IndexOf("-- No table") > 0)
|
||||||
|
{
|
||||||
|
return "-- No table";
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
private string ToCountSqlString()
|
private string ToCountSqlString()
|
||||||
|
@@ -78,6 +78,10 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
this.OrderByValue = oldOrderBy;
|
this.OrderByValue = oldOrderBy;
|
||||||
result = GetSqlQuerySql(result);
|
result = GetSqlQuerySql(result);
|
||||||
|
if (result.IndexOf("-- No table") > 0)
|
||||||
|
{
|
||||||
|
return "-- No table";
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
public override string ToPageSql(string sql, int? take, int? skip, bool isExternal = false)
|
public override string ToPageSql(string sql, int? take, int? skip, bool isExternal = false)
|
||||||
|
@@ -62,6 +62,10 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
this.OrderByValue = oldOrderValue;
|
this.OrderByValue = oldOrderValue;
|
||||||
result = GetSqlQuerySql(result);
|
result = GetSqlQuerySql(result);
|
||||||
|
if (result.IndexOf("-- No table") > 0)
|
||||||
|
{
|
||||||
|
return "-- No table";
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user