修复代码生成器模版

v1.4.1
Parker 4 years ago
parent 99f81047ff
commit 53b9a11990

@ -203,7 +203,7 @@ public class #(data.model.tableName)RestController extends BaseRestController<#(
@Override @Override
public ResultVo<?> exportExcel(HttpServletRequest request, HttpServletResponse response) { public ResultVo<?> exportExcel(HttpServletRequest request, HttpServletResponse response) {
QueryBuilder<#(data.model.tableName)> queryBuilder = new WebQueryBuilder<>(#(data.model.tableName).class, request.getParameterMap()); 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 #end
@Override @Override
public ResultVo<?> importTemplate(HttpServletResponse response) { public ResultVo<?> importTemplate(HttpServletResponse response) {
return super.importTemplate(RoleApi.TITLE, response); return super.importTemplate(#(data.model.tableName)RestApi.TITLE, response);
} }
} }

Loading…
Cancel
Save