Jianghan 1 year ago
parent
commit
bf8e52c639
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/exprot.go

+ 1 - 1
service/exprot.go

@@ -313,7 +313,7 @@ func exportA(sql, path, timeStr string, key []interface{}) []string {
 	writer, file := InirWrite(key)
 	a := 0
 	fpath := ""
-	BiService.SelectByBath(1, func(l *[]map[string]interface{}) bool {
+	JyBiTidb.SelectByBath(1, func(l *[]map[string]interface{}) bool {
 		if a%ExportCount == 0 && a > 0 {
 			a = 0
 			//入excel处理