Commit 7e24ce9f authored by 高滢's avatar 高滢

Merge branch 'gaoying' into 'dev'

模板下载

See merge request !337
parents 92f821c0 d24aa551
...@@ -107,11 +107,11 @@ public class ReviewEnterpriseArchiveController extends BaseController { ...@@ -107,11 +107,11 @@ public class ReviewEnterpriseArchiveController extends BaseController {
@ApiOperation("车企文件导入模板下载") @ApiOperation("车企文件导入模板下载")
@RequestMapping(method = RequestMethod.POST, value = "/importDownload") @RequestMapping(method = RequestMethod.POST, value = "/importDownload")
public R<String> EnterpriseFileDownload(HttpServletResponse response) throws Exception { public void EnterpriseFileDownload(HttpServletResponse response) throws Exception {
ExcelUtil<EnterpriseImportFileVO> util = new ExcelUtil<>(EnterpriseImportFileVO.class); ExcelUtil<EnterpriseImportFileVO> util = new ExcelUtil<>(EnterpriseImportFileVO.class);
ExcelUtil.setCombo(EnterpriseImportFileVO.class, "status", ExcelUtil.setCombo(EnterpriseImportFileVO.class, "status",
Lists.newArrayList("现行有效", "已失效")); Lists.newArrayList("现行有效", "已失效"));
return R.ok(); util.importTemplateExcel(response, "车企文件导入模板");
} }
@ApiOperation("车企文件导入") @ApiOperation("车企文件导入")
......
Markdown is supported
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