fuliqi
2024-09-04 c8df02a7b07086e17bacda6cdc015d76ac1f82fe
ycl-server/src/main/java/com/ycl/platform/controller/CheckScoreController.java
@@ -34,7 +34,7 @@
    /**
     * 查询考核积分卡片列表
     */
    @PreAuthorize("@ss.hasPermi('check:score:list')")
    @PreAuthorize("@ss.hasPermi('check:score:query')")
    @GetMapping("/list")
    public AjaxResult list(CheckScore checkScore)
    {
@@ -69,18 +69,17 @@
    /**
     * 获取考核指标详细信息
     */
    @PreAuthorize("@ss.hasPermi('check:score:query')")
    @PreAuthorize("@ss.hasPermi('check:score:detail')")
    @GetMapping(value = "/detail/index")
    public AjaxResult getIndex(CheckScoreIndexDTO checkScoreIndexDTO)
    {
        return success(checkScoreService.selectCheckScoreById(checkScoreIndexDTO));
    }
    /**
     * 发布考核积分
     */
    @PreAuthorize("@ss.hasPermi('check:score:edit')")
    @PreAuthorize("@ss.hasPermi('check:score:publish')")
    @Log(title = "发布考核积分", businessType = BusinessType.UPDATE)
    @PutMapping("/publish")
    public AjaxResult edit(@RequestBody CheckScoreDTO checkScoreDTO)