|
@@ -858,6 +858,12 @@ func (tn *Table) AnalyTables(contactFormat *u.ContactFormat) []*Table {
|
|
|
//过滤、标准化、合并kv,table.StandKV,table.StandKVWeight
|
|
|
table.KVFilter()
|
|
|
}
|
|
|
+ if len(table.StandKV) == 0{
|
|
|
+ for k,v := range table.SortKV.Map{
|
|
|
+ table.StandKV[k] = fmt.Sprint(v)
|
|
|
+ table.StandKVWeight[k] = -999
|
|
|
+ }
|
|
|
+ }
|
|
|
for k, v := range table.StandKV { //过滤后的标准化kv
|
|
|
if table.TableResult.SortKV.Map[k] == nil || table.StandKVWeight[k] > table.TableResult.SortKVWeight[k] {
|
|
|
table.TableResult.SortKV.AddKey(k, v)
|