[fix] 修复了beans定义表不能指定单独sheet的bug

main
Tianbao Lin 2022-10-19 10:33:02 +08:00
parent af492cea8d
commit b1c2507d99
1 changed files with 1 additions and 1 deletions

View File

@ -692,7 +692,7 @@ namespace Luban.Job.Cfg.Defs
{
var source = new ExcelRowColumnDataSource();
var bytes = await this.Agent.GetFromCacheOrReadAllBytesAsync(file.ActualFile, file.MD5);
var records = DataLoaderUtil.LoadCfgRecords(tableRecordType, file.OriginFile, null, bytes, true, null);
var records = DataLoaderUtil.LoadCfgRecords(tableRecordType, file.OriginFile, file.SheetName, bytes, true, null);
foreach (var r in records)
{