Browse Source

数据导出大于2w返回真实查询到的数量

renjiaojiao 1 year ago
parent
commit
de91c1a6ba
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/jfw/front/ws_dataExport.go

+ 3 - 3
src/jfw/front/ws_dataExport.go

@@ -208,9 +208,9 @@ func (w *WsDataExport) GetPreview() error {
 	//格式化字段
 	res_screen := dataexport.ScreenData(res, dataType, 20, kws)
 	list := dataexport.FormatExportData(public.Mgo_Ent, &res_screen, config.Sysconfig["webdomain"].(string), dataType, true)
-	if msgCount > 20000 {
-		msgCount = 20000
-	}
+	//if msgCount > 20000 {
+	//	msgCount = 20000
+	//}
 	_res["data"] = subUrl(list, dataType)
 	_res["dataType"] = dataType
 	_res["total"] = msgCount