|
@@ -61,31 +61,32 @@ func AddProject(this *biservice.AddProjectReq, addCountLimit int) *biservice.Add
|
|
bidstatus = 0
|
|
bidstatus = 0
|
|
}
|
|
}
|
|
JyBiMysql.Insert("dwd_f_report_data_baseinfo", map[string]interface{}{
|
|
JyBiMysql.Insert("dwd_f_report_data_baseinfo", map[string]interface{}{
|
|
- "infoid": infoid,
|
|
|
|
- "position_id": this.PositionId,
|
|
|
|
- "position_type": 0,
|
|
|
|
- "account_id": this.AccountId,
|
|
|
|
- "company_name": this.CompanyName,
|
|
|
|
- "user_id": this.UserId,
|
|
|
|
- "user_name": this.UserName,
|
|
|
|
- "status": 0,
|
|
|
|
- "projectname": common.ObjToString(project["projectname"]),
|
|
|
|
- "bidamount": common.Float64All(project["bidamount"]),
|
|
|
|
- "bidstatus": bidstatus,
|
|
|
|
- "updatetime": nowTime,
|
|
|
|
- "createtime": nowTime,
|
|
|
|
- "publishtime": time.Unix(publishtime, 0).Format("2006-01-02 15:04:05"),
|
|
|
|
- "jg_year": time.Unix(publishtime, 0).Format("2006"),
|
|
|
|
- "jg_y_month": time.Unix(publishtime, 0).Format("200601"),
|
|
|
|
- "jg_y_m_day": time.Unix(publishtime, 0).Format("20060102"),
|
|
|
|
- "source": this.Source,
|
|
|
|
- "buyer": common.ObjToString(project["buyer"]),
|
|
|
|
- "s_winner": common.ObjToString(project["s_winner"]),
|
|
|
|
- "area_code": area_code,
|
|
|
|
- "province_code": province_code,
|
|
|
|
- "city_code": city_code,
|
|
|
|
- "district_code": district_code,
|
|
|
|
- "jybxhref": `https://www.jianyu360.cn/article/content/` + util.CommonEncodeArticle("content", infoid) + `.html`,
|
|
|
|
|
|
+ "infoid": infoid,
|
|
|
|
+ "position_id": this.PositionId,
|
|
|
|
+ "position_type": 0,
|
|
|
|
+ "account_id": this.AccountId,
|
|
|
|
+ "company_name": this.CompanyName,
|
|
|
|
+ "user_id": this.UserId,
|
|
|
|
+ "user_name": this.UserName,
|
|
|
|
+ "status": 0,
|
|
|
|
+ "projectname": common.ObjToString(project["projectname"]),
|
|
|
|
+ "bidamount": common.Float64All(project["bidamount"]),
|
|
|
|
+ "bidamount_private": common.Float64All(project["bidamount"]),
|
|
|
|
+ "bidstatus": bidstatus,
|
|
|
|
+ "updatetime": nowTime,
|
|
|
|
+ "createtime": nowTime,
|
|
|
|
+ "publishtime": time.Unix(publishtime, 0).Format("2006-01-02 15:04:05"),
|
|
|
|
+ "jg_year": time.Unix(publishtime, 0).Format("2006"),
|
|
|
|
+ "jg_y_month": time.Unix(publishtime, 0).Format("200601"),
|
|
|
|
+ "jg_y_m_day": time.Unix(publishtime, 0).Format("20060102"),
|
|
|
|
+ "source": this.Source,
|
|
|
|
+ "buyer": common.ObjToString(project["buyer"]),
|
|
|
|
+ "s_winner": common.ObjToString(project["s_winner"]),
|
|
|
|
+ "area_code": area_code,
|
|
|
|
+ "province_code": province_code,
|
|
|
|
+ "city_code": city_code,
|
|
|
|
+ "district_code": district_code,
|
|
|
|
+ "jybxhref": `https://www.jianyu360.cn/article/content/` + util.CommonEncodeArticle("content", infoid) + `.html`,
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|