Commit d9013163 by 崔彦峰

modify:修改等级考试列表导出文件名、员工考试结果列表导出文件名。

1 parent f74e13f2
......@@ -221,8 +221,7 @@ public class LevelExamController {
item.setExamLevelStr("入职后" + p.getExamLevel() + "天");
return item;
}).collect(Collectors.toList());
String url = EasyExcelUtil.exportExcel(exportVOList,
"等级考试列表导出" + DateUtils.formatDate(new Date(), DateUtils.YEARMONTHDATEHOURMINUTESECOND), LevelExamExportVO.class);
String url = EasyExcelUtil.exportExcel(exportVOList, "等级考试列表导出" , LevelExamExportVO.class);
return RopResponse.success(url);
} catch (Exception e) {
log.error("=====等级考试列表导出 exception:{}", e.getMessage(), e);
......@@ -247,8 +246,7 @@ public class LevelExamController {
item.setIndex(idx.getAndIncrement());
return item;
}).collect(Collectors.toList());
String url = EasyExcelUtil.exportExcel(exportVOList,
"员工考试结果列表导出" + DateUtils.formatDate(new Date(), DateUtils.YEARMONTHDATEHOURMINUTESECOND), LevelExamPersonDataExportVO.class);
String url = EasyExcelUtil.exportExcel(exportVOList, "员工考试结果列表导出", LevelExamPersonDataExportVO.class);
return RopResponse.success(url);
} catch (RpcServiceException e) {
log.info("risk.manage.api.level.exam.data.export.async.exception!", e);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!