Update split table

This commit is contained in:
sunkaixuan
2022-04-14 13:38:57 +08:00
parent 7e10fb5c54
commit 0301b64099
3 changed files with 12 additions and 0 deletions

View File

@@ -62,6 +62,10 @@ namespace SqlSugar
}
this.OrderByValue = oldOrderValue;
result = GetSqlQuerySql(result);
if (result.IndexOf("-- No table") > 0)
{
return "-- No table";
}
return result;
}
private string ToCountSqlString()

View File

@@ -78,6 +78,10 @@ namespace SqlSugar
}
this.OrderByValue = oldOrderBy;
result = GetSqlQuerySql(result);
if (result.IndexOf("-- No table") > 0)
{
return "-- No table";
}
return result;
}
public override string ToPageSql(string sql, int? take, int? skip, bool isExternal = false)

View File

@@ -62,6 +62,10 @@ namespace SqlSugar
}
this.OrderByValue = oldOrderValue;
result = GetSqlQuerySql(result);
if (result.IndexOf("-- No table") > 0)
{
return "-- No table";
}
return result;
}