张金坤 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 {