Commit bfade3f9 authored by xiandafu's avatar xiandafu
Browse files

代码生成

parent 98ca1176
......@@ -60,7 +60,7 @@ public class ${entity.name}Controller{
\@Autowired private ${entity.name}Service ${service};
@Autowired
\@Autowired
FileService fileService;
/* 页面 */
......@@ -169,7 +169,7 @@ public class ${entity.name}Controller{
if(is==null) {
throw new PlatformException("模板资源不存在:"+excelTemplate);
}
FileItem item = fileService.createFileTemp("${entity.displayName}_"+DateUtil.now("yyyyMMddHHmmss")".xls");
FileItem item = fileService.createFileTemp("${entity.displayName}_"+DateUtil.now("yyyyMMddHHmmss")+".xls");
OutputStream os = item.openOutpuStream();
Context context = new Context();
context.putVar("list", list);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment