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); } }