Browse Source

feat:xiugai

wangchuanjin 1 year ago
parent
commit
ce01b0fb45
1 changed files with 2 additions and 0 deletions
  1. 2 0
      common/src/qfw/util/dataexport/dataexport.go

+ 2 - 0
common/src/qfw/util/dataexport/dataexport.go

@@ -1080,6 +1080,8 @@ func FormatExportData(entmg mg.MongodbSim, data *[]map[string]interface{}, webdo
 	wait := &sync.WaitGroup{}
 	lock := &sync.Mutex{}
 	for index := 0; index < len(*data); index++ {
+		pool <- true
+		wait.Add(1)
 		go func(v map[string]interface{}) {
 			defer qutil.Catch()
 			defer func() {