From 53b9a11990e4f12add9348cab13253d92f481f2a Mon Sep 17 00:00:00 2001 From: Parker Date: Wed, 25 Nov 2020 10:46:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90=E5=99=A8=E6=A8=A1=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/tpl/backend/web/TemplateRestController.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opsli-modulars/opsli-modulars-creater/src/main/resources/tpl/backend/web/TemplateRestController.html b/opsli-modulars/opsli-modulars-creater/src/main/resources/tpl/backend/web/TemplateRestController.html index 783c717..0da36aa 100644 --- a/opsli-modulars/opsli-modulars-creater/src/main/resources/tpl/backend/web/TemplateRestController.html +++ b/opsli-modulars/opsli-modulars-creater/src/main/resources/tpl/backend/web/TemplateRestController.html @@ -203,7 +203,7 @@ public class #(data.model.tableName)RestController extends BaseRestController<#( @Override public ResultVo exportExcel(HttpServletRequest request, HttpServletResponse response) { QueryBuilder<#(data.model.tableName)> queryBuilder = new WebQueryBuilder<>(#(data.model.tableName).class, request.getParameterMap()); - return super.excelExport(RoleApi.TITLE, queryBuilder.build(), response); + return super.excelExport(#(data.model.tableName)RestApi.TITLE, queryBuilder.build(), response); } /** @@ -236,7 +236,7 @@ public class #(data.model.tableName)RestController extends BaseRestController<#( #end @Override public ResultVo importTemplate(HttpServletResponse response) { - return super.importTemplate(RoleApi.TITLE, response); + return super.importTemplate(#(data.model.tableName)RestApi.TITLE, response); } }