【调整】调整cfg excel meta属性title_rows的语义,原来title_rows将多级标题头当作一行,现在简单统一为除了meta行和数据以外的标题行的行数
parent
e9279364b1
commit
714f731f99
|
|
@ -524,7 +524,7 @@ namespace Luban.Job.Cfg.DataSources.Excel
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// 删除所有标题行,包含字段名行、属性行、标题、描述等等非有效数据行
|
// 删除所有标题行,包含字段名行、属性行、标题、描述等等非有效数据行
|
||||||
this._rowColumns.RemoveRange(0, Math.Min(TitleRows + titleRowNum - 1, this._rowColumns.Count));
|
this._rowColumns.RemoveRange(0, Math.Min(TitleRows, this._rowColumns.Count));
|
||||||
// 删除忽略的记录行
|
// 删除忽略的记录行
|
||||||
this._rowColumns.RemoveAll(row => DataUtil.IsIgnoreTag(GetRowTag(row)));
|
this._rowColumns.RemoveAll(row => DataUtil.IsIgnoreTag(GetRowTag(row)));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue