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

Merge pull request !209 from lihy2021/N/A
master
若依 4 years ago
commit dcb9839596
  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