diff --git a/Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/DbMaintenance/GBaseDbMaintenance.cs b/Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/DbMaintenance/GBaseDbMaintenance.cs index 3532b6234..88219b65b 100644 --- a/Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/DbMaintenance/GBaseDbMaintenance.cs +++ b/Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/DbMaintenance/GBaseDbMaintenance.cs @@ -73,7 +73,7 @@ trim(a.tabname) as name, trim(b.comments) as Description from systables a left join syscomments b on b.tabname = a.tabname -where a.tabtype in ('T') and not (a.tabname like 'sys%') AND a.tabname <>'dual' "; +where a.tabtype in ('T') and a.tabid > 99"; } } protected override string GetViewInfoListSql @@ -85,7 +85,7 @@ trim(a.tabname) as name, trim(b.comments) as Description from systables a left join syscomments b on b.tabname = a.tabname -where a.tabtype in ('V') and not (a.tabname like 'sys%') AND a.tabname <>'dual' "; +where a.tabtype in ('V') and a.tabid > 99 "; } } #endregion