导出 Excel 工作表的名称 由 ${businessName} 更改为 ${functionName}

master
lihy2021 4 years ago
parent 5a2a0c09b6
commit 6595c68df1
  1. 2
      ruoyi-generator/src/main/resources/vm/java/controller.java.vm

@ -66,7 +66,7 @@ public class ${ClassName}Controller extends BaseController
{ {
List<${ClassName}> list = ${className}Service.select${ClassName}List(${className}); List<${ClassName}> list = ${className}Service.select${ClassName}List(${className});
ExcelUtil<${ClassName}> util = new ExcelUtil<${ClassName}>(${ClassName}.class); ExcelUtil<${ClassName}> util = new ExcelUtil<${ClassName}>(${ClassName}.class);
return util.exportExcel(list, "${businessName}"); return util.exportExcel(list, "${functionName}");
} }
/** /**

Loading…
Cancel
Save