style: 简化结构

This commit is contained in:
陈淳
2023-09-21 19:59:38 +08:00
parent 3007267951
commit 8a90f9d089

View File

@@ -37,7 +37,7 @@ namespace Yi.Framework.Module.WebFirstManager.Impl
var tables = await _tableRepository.GetListAsync();
foreach (var table in tables)
{
await BuildSingleTableAsync(table);
await _templateManager.HandlerAsync(table);
}
}
@@ -50,21 +50,5 @@ namespace Yi.Framework.Module.WebFirstManager.Impl
public async Task PostBuildTableAsync()
{
}
/// <summary>
/// 每次去构建一张表的数据
/// </summary>
/// <param name="table"></param>
/// <returns></returns>
private async Task BuildSingleTableAsync(TableEntity table)
{
await _templateManager.HandlerAsync(table);
}
}
}