Merge pull request #27 from kteong1012/pr221019

[fix] 修复了beans定义表不能指定单独sheet的bug
main
walon 2022-10-19 10:39:51 +08:00 committed by GitHub
commit 165ad69a5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 source = new ExcelRowColumnDataSource();
var bytes = await this.Agent.GetFromCacheOrReadAllBytesAsync(file.ActualFile, file.MD5); 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) foreach (var r in records)
{ {