xuzhiheng 4 år sedan
förälder
incheckning
6977e71548
2 ändrade filer med 3 tillägg och 0 borttagningar
  1. 1 0
      src/history/util_history.go
  2. 2 0
      src/service/second_push.go

+ 1 - 0
src/history/util_history.go

@@ -941,6 +941,7 @@ func GetXlsxs(mMap []map[string]interface{}, fn, email, id string, isfile bool)
 				for _, v := range mMap {
 					row := sh.AddRow()
 					// row.AddCell().SetInt(i + 1)
+					row.AddCell().SetValue(v["departname"])
 					row.AddCell().SetValue(v["rulename"])
 					row.AddCell().SetValue(v["matchkey"])
 					row.AddCell().SetValue(v["area"])

+ 2 - 0
src/service/second_push.go

@@ -480,6 +480,8 @@ func GetXlsxs(mMap []map[string]interface{}, fn, email, id string) {
 				for _, v := range mMap {
 					row := sh.AddRow()
 					// row.AddCell().SetInt(i + 1)
+					row.AddCell().SetValue(v["departname"])
+					row.AddCell().SetValue(v["rulename"])
 					row.AddCell().SetValue(v["matchkey"])
 					row.AddCell().SetValue(v["area"])
 					row.AddCell().SetValue(v["city"])