Browse Source

优化代码生成导出模板名称

tags/v3.0.0
RuoYi 4 years ago
parent
commit
a664602e28
  1. 2
      ruoyi-modules/ruoyi-gen/src/main/resources/vm/java/controller.java.vm

2
ruoyi-modules/ruoyi-gen/src/main/resources/vm/java/controller.java.vm

@ -68,7 +68,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);
util.exportExcel(response, list, "${businessName}"); util.exportExcel(response, list, "${functionName}数据");
} }
/** /**

Loading…
Cancel
Save