From c94a843ca6c381977b886a610b9211c8296492bc Mon Sep 17 00:00:00 2001 From: Jinquan_Ou <Jinquan@gdut.com> Date: 星期日, 19 三月 2023 10:06:41 +0800 Subject: [PATCH] 修改上传文件 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZfPropertyController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZfPropertyController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZfPropertyController.java index 7ca7d36..73754b0 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZfPropertyController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ZfPropertyController.java @@ -60,9 +60,9 @@ // @PreAuthorize("@ss.hasPermi('system:property:export')") @Log(title = "瀹跺涵璧勪骇璁板綍", businessType = BusinessType.EXPORT) @PostMapping("/export") - public void export(HttpServletResponse response) + public void export(HttpServletResponse response,ZfProperty zfProperty) { - List<ZfProperty> list = zfPropertyService.list(); + List<ZfProperty> list = zfPropertyService.selectByCondition(zfProperty); ExcelUtil<ZfProperty> util = new ExcelUtil<ZfProperty>(ZfProperty.class); util.exportExcel(response, list, "瀹跺涵璧勪骇璁板綍鏁版嵁"); } -- Gitblit v1.9.1