fengweiqiang 6 years ago
parent
commit
08bd9a2c9a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/jy/pretreated/analytable.go

+ 2 - 2
src/jy/pretreated/analytable.go

@@ -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 {