Quellcode durchsuchen

Merge branch 'dev_v1.0.2_wh' of CRM/application into feature/v1.0.2

王浩 vor 1 Jahr
Ursprung
Commit
62fef2c68b
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      api/internal/service/employService.go

+ 3 - 0
api/internal/service/employService.go

@@ -236,6 +236,9 @@ 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 subtype == "拟建" {
+			data["source"] = 2
+		}
 		if toptype == "采购意向" || toptype == "预告" || toptype == "招标" || toptype == "" {
 			data["type"] = 2
 		} else {