张金坤 9 年之前
父節點
當前提交
bd612c6f33
共有 1 個文件被更改,包括 3 次插入3 次删除
  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 {