张金坤 9 years ago
parent
commit
bd612c6f33
1 changed files with 3 additions and 3 deletions
  1. 3 3
      common/src/qfw/util/elastic/elasticutil.go

+ 3 - 3
common/src/qfw/util/elastic/elasticutil.go

@@ -618,10 +618,10 @@ func ConverData(ent *map[string]interface{}) map[string]interface{} {
 	tmp2["CompFormName"] = tmp["CompFormName"]
 	//增加异常名录标记
 	Ycml := tmp["Ycml"]
-	if util.ObjToString(Ycml) == "" {
-		tmp2["Ycml"] = false
-	} else {
+	if util.ObjToString(Ycml) == "1" {
 		tmp2["Ycml"] = true
+	} else {
+		tmp2["Ycml"] = false
 	}
 	//增加年报联系信息
 	if tmp["Nb_email"] != nil {