xuzhiheng 5 ani în urmă
părinte
comite
188f8849cf
1 a modificat fișierele cu 6 adăugiri și 6 ștergeri
  1. 6 6
      src/service/second_push.go

+ 6 - 6
src/service/second_push.go

@@ -413,7 +413,7 @@ func GetXlsxs(mMap []map[string]interface{}, fn, email, id string) {
 					row.AddCell().SetValue(v["buyer"])
 					row.AddCell().SetValue(v["winner"])
 					if v["bidamount"] != nil {
-						row.AddCell().SetFloat(qu.Float64All(v["bidamount"]) / 10000)
+						row.AddCell().SetFloat(qu.Float64All(v["bidamount"]))
 					} else {
 						row.AddCell()
 					}
@@ -444,12 +444,12 @@ func GetXlsxs(mMap []map[string]interface{}, fn, email, id string) {
 					row.AddCell().SetValue(v["projectname"])
 					row.AddCell().SetValue(v["projectscope"])
 					if v["budget"] != nil {
-						row.AddCell().SetFloat(qu.Float64All(v["budget"]) / 10000)
+						row.AddCell().SetFloat(qu.Float64All(v["budget"]))
 					} else {
 						row.AddCell()
 					}
 					if v["bidamount"] != nil {
-						row.AddCell().SetFloat(qu.Float64All(v["bidamount"]) / 10000)
+						row.AddCell().SetFloat(qu.Float64All(v["bidamount"]))
 					} else {
 						row.AddCell()
 					}
@@ -488,7 +488,7 @@ func GetXlsxs(mMap []map[string]interface{}, fn, email, id string) {
 					}
 					row.AddCell().SetValue(v["href"])
 					if v["bidamount"] != nil {
-						row.AddCell().SetFloat(qu.Float64All(v["bidamount"]) / 10000)
+						row.AddCell().SetFloat(qu.Float64All(v["bidamount"]))
 					} else {
 						row.AddCell()
 					}
@@ -535,12 +535,12 @@ func GetXlsxs(mMap []map[string]interface{}, fn, email, id string) {
 					row.AddCell().SetValue(v["projectname"])
 					row.AddCell().SetValue(v["projectscope"])
 					if v["budget"] != nil {
-						row.AddCell().SetFloat(qu.Float64All(v["budget"]) / 10000)
+						row.AddCell().SetFloat(qu.Float64All(v["budget"]))
 					} else {
 						row.AddCell()
 					}
 					if v["bidamount"] != nil {
-						row.AddCell().SetFloat(qu.Float64All(v["bidamount"]) / 10000)
+						row.AddCell().SetFloat(qu.Float64All(v["bidamount"]))
 					} else {
 						row.AddCell()
 					}