fuliqi
2024-09-23 134ef8858210a09d34567b5ef0b8d29b6c8bf38d
ycl-server/src/main/java/com/ycl/platform/controller/CheckScoreController.java
@@ -37,8 +37,8 @@
     * 查询考核积分卡片列表
     */
    @PreAuthorize("@ss.hasPermi('check:score:query')")
    @GetMapping("/list")
    public AjaxResult list(CheckScore checkScore)
    @PostMapping("/list")
    public AjaxResult list(@RequestBody CheckScore checkScore)
    {
        Map<Long, List<CheckScore>> deptMap = checkScoreService.selectCheckScoreList(checkScore);
        return success(deptMap);
@@ -95,7 +95,6 @@
    @Log(title = "详情页导出考核积分", businessType = BusinessType.EXPORT)
    @PostMapping("/detailExport")
    @PreAuthorize("@ss.hasPermi('check:result:detail:export')")
    //共用的一个方法用checkScore接参,new对象的方式防护。
    public void detailExport(HttpServletResponse response, CheckScore checkScore) throws IOException {
        CheckResultExportDTO exportDTO = new CheckResultExportDTO();
        exportDTO.setDate(checkScore.getDate());