Commit eb892e4c by 杨林龙

优化试驾报表查询和数据导出

1 parent f7f7c94e
......@@ -46,7 +46,7 @@ public class TrialDriveReportController {
// 优先查询试驾 d_electric_fence_drive 表获取分页页数
List<TrialDriveReportExport> testDrivePageList = trialDriveReportService.search(search);
return R.ok().data(testDrivePageList);
return R.ok().putPageData(testDrivePageList, page.getTotal());
}
@GetMapping(value = "/export")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!