fengweiqiang 6 năm trước cách đây
mục cha
commit
08bd9a2c9a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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 {