Update split table

This commit is contained in:
sunkaixuan
2022-04-14 13:39:45 +08:00
parent 0301b64099
commit 70d51f04f3
2 changed files with 8 additions and 0 deletions

View File

@@ -49,6 +49,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 = oldOrderBy;
result = GetSqlQuerySql(result);
if (result.IndexOf("-- No table") > 0)
{
return "-- No table";
}
return result;
}