fuliqi
2024-09-20 9ca86187d65db0180f6d23b8efd13136b6db394c
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);
@@ -94,7 +94,7 @@
     */
    @Log(title = "详情页导出考核积分", businessType = BusinessType.EXPORT)
    @PostMapping("/detailExport")
    //这里没做权限,所以用checkScore接参,new对象的方式防护。
    @PreAuthorize("@ss.hasPermi('check:result:detail:export')")
    public void detailExport(HttpServletResponse response, CheckScore checkScore) throws IOException {
        CheckResultExportDTO exportDTO = new CheckResultExportDTO();
        exportDTO.setDate(checkScore.getDate());