|
@@ -58,9 +58,9 @@ func GetEntDataExportCount(sim, bid mg.MongodbSim, bidMgoDBName, elasticAddress,
|
|
|
date := v["signendtime"]
|
|
|
v["signendtime"] = FormatDateWithObj(&date, Date_Short_Layout)
|
|
|
}
|
|
|
- if util.IntAll(v["signendtime"]) != 0 {
|
|
|
- date := v["signendtime"]
|
|
|
- v["signendtime"] = FormatDateWithObj(&date, Date_Short_Layout)
|
|
|
+ if util.IntAll(v["bidendtime"]) != 0 {
|
|
|
+ date := v["bidendtime"]
|
|
|
+ v["bidendtime"] = FormatDateWithObj(&date, Date_Short_Layout)
|
|
|
}
|
|
|
id := util.ObjToString(v["_id"])
|
|
|
if m[id] {
|
|
@@ -228,6 +228,10 @@ func FormatExportDatas(Mgo_Ent mongodb.MongodbSim, data *[]map[string]interface{
|
|
|
date := v["signendtime"]
|
|
|
v["signendtime"] = FormatDateWithObj(&date, Date_Short_Layout)
|
|
|
}
|
|
|
+ if util.IntAll(v["bidendtime"]) != 0 {
|
|
|
+ date := v["bidendtime"]
|
|
|
+ v["bidendtime"] = FormatDateWithObj(&date, Date_Short_Layout)
|
|
|
+ }
|
|
|
if v["currency"] == "" || v["currency"] == nil {
|
|
|
v["currency"] = "人民币"
|
|
|
}
|