| | |
| | | Map<Long, List<CheckScore>> deptMap = checkScoreService.selectCheckScoreList(checkScore); |
| | | return success(deptMap); |
| | | } |
| | | |
| | | /** |
| | | * 查询考核积分卡片列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('check:score:query')") |
| | | @PostMapping("/bar") |
| | | public AjaxResult bar(@RequestBody CheckScore checkScore) |
| | | { |
| | | Map<Long, List<CheckScore>> deptMap = checkScoreService.selectCheckScoreList(checkScore); |
| | | return success(deptMap); |
| | | } |
| | | /** |
| | | * 查询考核积分折线图 |
| | | */ |
| | |
| | | @Log(title = "详情页导出考核积分", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/detailExport") |
| | | @PreAuthorize("@ss.hasPermi('check:result:detail:export')") |
| | | public void detailExport(HttpServletResponse response, CheckScore checkScore) throws IOException { |
| | | CheckResultExportDTO exportDTO = new CheckResultExportDTO(); |
| | | exportDTO.setDate(checkScore.getDate()); |
| | | exportDTO.setQuarter(checkScore.getQuarter()); |
| | | exportDTO.setDeptId(checkScore.getDeptId()); |
| | | exportDTO.setId(checkScore.getId()); |
| | | //TODO:检查权限 |
| | | public void detailExport(HttpServletResponse response, CheckResultExportDTO exportDTO) throws IOException { |
| | | checkScoreService.exportIndex(response,exportDTO); |
| | | } |
| | | /** |