Commit d9013163 by 崔彦峰

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

1 parent f74e13f2
...@@ -221,8 +221,7 @@ public class LevelExamController { ...@@ -221,8 +221,7 @@ public class LevelExamController {
item.setExamLevelStr("入职后" + p.getExamLevel() + "天"); item.setExamLevelStr("入职后" + p.getExamLevel() + "天");
return item; return item;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
String url = EasyExcelUtil.exportExcel(exportVOList, String url = EasyExcelUtil.exportExcel(exportVOList, "等级考试列表导出" , LevelExamExportVO.class);
"等级考试列表导出" + DateUtils.formatDate(new Date(), DateUtils.YEARMONTHDATEHOURMINUTESECOND), LevelExamExportVO.class);
return RopResponse.success(url); return RopResponse.success(url);
} catch (Exception e) { } catch (Exception e) {
log.error("=====等级考试列表导出 exception:{}", e.getMessage(), e); log.error("=====等级考试列表导出 exception:{}", e.getMessage(), e);
...@@ -247,8 +246,7 @@ public class LevelExamController { ...@@ -247,8 +246,7 @@ public class LevelExamController {
item.setIndex(idx.getAndIncrement()); item.setIndex(idx.getAndIncrement());
return item; return item;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
String url = EasyExcelUtil.exportExcel(exportVOList, String url = EasyExcelUtil.exportExcel(exportVOList, "员工考试结果列表导出", LevelExamPersonDataExportVO.class);
"员工考试结果列表导出" + DateUtils.formatDate(new Date(), DateUtils.YEARMONTHDATEHOURMINUTESECOND), LevelExamPersonDataExportVO.class);
return RopResponse.success(url); return RopResponse.success(url);
} catch (RpcServiceException e) { } catch (RpcServiceException e) {
log.info("risk.manage.api.level.exam.data.export.async.exception!", 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!