Commit b51941de by wyc

自定义表下载 改成下载全部(99999)

parent 5a65efe3
...@@ -987,7 +987,8 @@ public IActionResult CustomDownload([FromBody] CustomPagingRequest request) ...@@ -987,7 +987,8 @@ public IActionResult CustomDownload([FromBody] CustomPagingRequest request)
var allot = _allotService.GetAllot(request.AllotId); var allot = _allotService.GetAllot(request.AllotId);
if (allot == null) if (allot == null)
throw new PerformanceException("AllotID错误"); throw new PerformanceException("AllotID错误");
request.PageIndex = 1;
request.PageSize = 99999;
string filepath = _configService.CustomDownloadFile(_claim.GetUserId(), request, allot); string filepath = _configService.CustomDownloadFile(_claim.GetUserId(), request, allot);
if (!FileHelper.IsExistFile(filepath)) if (!FileHelper.IsExistFile(filepath))
throw new PerformanceException("获取导入数据失败"); throw new PerformanceException("获取导入数据失败");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment