|
@@ -510,7 +510,7 @@ func (table *Table) MergerToTableresult() {
|
|
|
if package1 == nil {
|
|
|
table.TableResult.PackageMap.AddKey(v2, table.BlockPackage.Map[v2])
|
|
|
if vvv, ok := table.BlockPackage.Map[v2].(*u.BlockPackage); ok {
|
|
|
- if vvv.TableKV != nil && len(vvv.TableKV.KvTags) == 0 {
|
|
|
+ if vvv.TableKV != nil && len(vvv.TableKV.KvTags) > 0 {
|
|
|
MergeKvTags(table.TableResult.KvTags, vvv.TableKV.KvTags)
|
|
|
}
|
|
|
}
|
|
@@ -1398,7 +1398,7 @@ func (table *Table) FindKV() {
|
|
|
if bcon {
|
|
|
continue
|
|
|
}
|
|
|
- if tr.TDs[0].StartRow > 0 {
|
|
|
+ if tr.TDs[0].StartRow >= 0 {
|
|
|
numbh := 0
|
|
|
for _, td := range tr.TDs {
|
|
|
if td.BH {
|