Explorar el Código

没有类型资讯按照机会挖掘处理

WH01243 hace 1 año
padre
commit
22626df6fc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api/internal/service/employService.go

+ 1 - 1
api/internal/service/employService.go

@@ -210,7 +210,7 @@ func infoFind(id string, v1 string) map[string]interface{} {
 		pushTime = time.Unix(common.Int64All(obj["publishtime"]), 0).Format(date.Date_Full_Layout)
 		data["source"] = 1
 		data["source_id"] = id
-		if toptype == "采购意向" || toptype == "预告" || toptype == "招标" {
+		if toptype == "采购意向" || toptype == "预告" || toptype == "招标" || toptype == "" {
 			data["type"] = 2
 		} else {
 			if subtype == "废标" || subtype == "流标" || subtype == "其它" {