Browse Source

情报标签

xuzhiheng 1 year ago
parent
commit
8b176f040f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      field_sync/task.go

+ 2 - 1
field_sync/task.go

@@ -772,7 +772,7 @@ func getTagSet(tmp, compare map[string]interface{}) map[string]map[string]interf
 			     },
 			     {
 			       "term": {
-			         "tag_topinformation": "物业"
+			         "subtype": "合同"
 			       }
 			     },
 			     {
@@ -807,6 +807,7 @@ func getTagSet(tmp, compare map[string]interface{}) map[string]map[string]interf
 			changehand := fmt.Sprintf("%.2f", float64(count)/float64(len(*data)))
 			changehands, _ := strconv.ParseFloat(changehand, 64)
 			wuye["changehand"] = changehands
+			log.Println("changehands", count, len(*data), changehands)
 			if changehands > 0.3 {
 				wuye["changehandindex"] = 61
 			}