fuliqi
2024-09-05 cd24a045bd9ee29505ddc9760d25f5d4037f4f0c
ycl-server/src/main/java/com/ycl/platform/controller/CheckScoreController.java
@@ -94,7 +94,8 @@
     */
    @Log(title = "详情页导出考核积分", businessType = BusinessType.EXPORT)
    @PostMapping("/detailExport")
    //这里没做权限,所以用checkScore接参,new对象的方式防护。
    @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());