duxin 2 жил өмнө
parent
commit
f32f1c52fc

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

@@ -655,6 +655,9 @@ func GetDataExportSelectResult(bidding mg.MongodbSim, biddingName string, scd *S
 			selectMap[key] = 1
 		}
 	}
+	if checkCount == -1 && len(scd.SelectIds) > 500 {
+		scd.SelectIds = scd.SelectIds[:500]
+	}
 	pool := make(chan bool, 10)
 	wait := &sync.WaitGroup{}
 	var lock sync.Mutex