Merge branch 'net5.0'

This commit is contained in:
不做码农
2022-05-09 20:20:21 +08:00
6 changed files with 39 additions and 12 deletions

View File

@@ -60,7 +60,10 @@ namespace ZR.Service.System
if (info != null && !info.SubTableName.IsEmpty())
{
info.SubTable = GenTableRepository.Queryable().Where(f => f.SubTableName == info.TableName).First();
SetTableFromOptions(info?.SubTable);
if (info?.SubTable != null)
{
SetTableFromOptions(info?.SubTable);
}
}
return info;
}