|
@@ -197,8 +197,10 @@ func (this *EntDataExport) SubscribeExport() {
|
|
"isEnt": "true",
|
|
"isEnt": "true",
|
|
})
|
|
})
|
|
if err5 != nil || util.IntAll(rs["code"]) != 0 {
|
|
if err5 != nil || util.IntAll(rs["code"]) != 0 {
|
|
- log.Println("判重失败===", err5)
|
|
|
|
- return
|
|
|
|
|
|
+ /*log.Println("判重失败===", err5)
|
|
|
|
+ return*/
|
|
|
|
+ infoIdList = []string{}
|
|
|
|
+ newCount = 100
|
|
} else {
|
|
} else {
|
|
//log.Println(rs)
|
|
//log.Println(rs)
|
|
// 置空
|
|
// 置空
|
|
@@ -336,6 +338,11 @@ func GetXlsx(mMap []map[string]interface{}, entId, entUserId int) string {
|
|
sh := xf.Sheets[0]
|
|
sh := xf.Sheets[0]
|
|
for _, v := range mMap {
|
|
for _, v := range mMap {
|
|
row := sh.AddRow()
|
|
row := sh.AddRow()
|
|
|
|
+ if v["matchkeys"] != nil {
|
|
|
|
+ row.AddCell().SetValue(v["matchkeys"])
|
|
|
|
+ } else {
|
|
|
|
+ row.AddCell()
|
|
|
|
+ }
|
|
row.AddCell().SetValue(v["area"])
|
|
row.AddCell().SetValue(v["area"])
|
|
row.AddCell().SetValue(v["city"])
|
|
row.AddCell().SetValue(v["city"])
|
|
row.AddCell().SetValue(v["title"])
|
|
row.AddCell().SetValue(v["title"])
|
|
@@ -366,6 +373,11 @@ func GetXlsx(mMap []map[string]interface{}, entId, entUserId int) string {
|
|
} else {
|
|
} else {
|
|
row.AddCell()
|
|
row.AddCell()
|
|
}
|
|
}
|
|
|
|
+ if v["bidendtime"] != nil {
|
|
|
|
+ row.AddCell().SetValue(v["bidendtime"])
|
|
|
|
+ } else {
|
|
|
|
+ row.AddCell()
|
|
|
|
+ }
|
|
row.AddCell().SetValue(v["buyer"])
|
|
row.AddCell().SetValue(v["buyer"])
|
|
row.AddCell().SetValue(v["buyerperson"])
|
|
row.AddCell().SetValue(v["buyerperson"])
|
|
row.AddCell().SetValue(v["buyertel"])
|
|
row.AddCell().SetValue(v["buyertel"])
|
|
@@ -654,6 +666,10 @@ func SearchWinnerInfo(v map[string]interface{}, webdomain string) {
|
|
date := v["bidopentime"]
|
|
date := v["bidopentime"]
|
|
v["bidopentime"] = util.FormatDateWithObj(&date, util.Date_Short_Layout)
|
|
v["bidopentime"] = util.FormatDateWithObj(&date, util.Date_Short_Layout)
|
|
}
|
|
}
|
|
|
|
+ if v["bidendtime"] != nil {
|
|
|
|
+ date := v["bidendtime"]
|
|
|
|
+ v["bidendtime"] = util.FormatDateWithObj(&date, util.Date_Short_Layout)
|
|
|
|
+ }
|
|
if v["currency"] == "" || v["currency"] == nil {
|
|
if v["currency"] == "" || v["currency"] == nil {
|
|
v["currency"] = "人民币"
|
|
v["currency"] = "人民币"
|
|
}
|
|
}
|