😎清理代码
This commit is contained in:
parent
deb9b3050f
commit
1b0aa27e53
@ -319,8 +319,9 @@ public class SysCodeGenService : IDynamicApiController, ITransient
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取库表信息
|
/// 获取库表信息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <param name="containSysTable"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
private async Task<IEnumerable<EntityInfo>> GetEntityInfos(bool filtSysTable = false)
|
private async Task<IEnumerable<EntityInfo>> GetEntityInfos(bool containSysTable = false)
|
||||||
{
|
{
|
||||||
var types = new List<Type>();
|
var types = new List<Type>();
|
||||||
if (_codeGenOptions.EntityAssemblyNames != null)
|
if (_codeGenOptions.EntityAssemblyNames != null)
|
||||||
@ -355,8 +356,8 @@ public class SysCodeGenService : IDynamicApiController, ITransient
|
|||||||
var entityInfos = new List<EntityInfo>();
|
var entityInfos = new List<EntityInfo>();
|
||||||
foreach (var ct in cosType)
|
foreach (var ct in cosType)
|
||||||
{
|
{
|
||||||
//// 若实体贴[SysTable]特性,则禁止显示系统自带的
|
// 若实体贴[SysTable]特性,则禁止显示系统自带的
|
||||||
if (filtSysTable && ct.IsDefined(typeof(SysTableAttribute), false))
|
if (containSysTable && ct.IsDefined(typeof(SysTableAttribute), false))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
var des = ct.GetCustomAttributes(typeof(DescriptionAttribute), false);
|
var des = ct.GetCustomAttributes(typeof(DescriptionAttribute), false);
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user