Browse Source

//项目编号权重清理

fengweiqiang 5 years ago
parent
commit
740ef96f78
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/jy/extract/score.go

+ 4 - 3
src/jy/extract/score.go

@@ -339,9 +339,10 @@ func projectWeightClear(tmps []*ju.ExtField) []*ju.ExtField {
 			tmpWeight = v.Weight
 			tmpIndex = i
 		} else if v.Weight == tmpWeight {
-			if utf8.RuneCountInString(qu.ObjToString(v.Value)) >= 5 && utf8.RuneCountInString(qu.ObjToString(v.Value)) <= 38 && v.Value != tmps[tmpIndex].Value {
-				vmap[qu.ObjToString(v.Value)] = i
-			}
+			//if utf8.RuneCountInString(qu.ObjToString(v.Value)) >= 5 && utf8.RuneCountInString(qu.ObjToString(v.Value)) <= 38 && v.Value != tmps[tmpIndex].Value {
+			//	vmap[qu.ObjToString(v.Value)] = i
+			//}
+			newList = append(newList, v)
 		}
 	}
 	if tmpIndex != -999 {