fuliqi
2024-04-11 5a106c938e39d1f82339c122c547434c3d6a5685
ycl-server/src/main/java/com/ycl/platform/controller/CheckTemplateController.java
@@ -34,7 +34,7 @@
    /**
     * 查询考核模板列表
     */
    @PreAuthorize("@ss.hasPermi('system:template:list')")
//    @PreAuthorize("@ss.hasPermi('system:template:list')")
    @GetMapping("/list")
    public TableDataInfo list(CheckTemplateQuery checkTemplateDTO)
    {
@@ -46,7 +46,7 @@
    /**
     * 导出考核模板列表
     */
    @PreAuthorize("@ss.hasPermi('system:template:export')")
//    @PreAuthorize("@ss.hasPermi('system:template:export')")
    @Log(title = "考核模板", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, CheckTemplateQuery checkTemplateDTO)
@@ -59,7 +59,7 @@
    /**
     * 获取考核模板详细信息
     */
    @PreAuthorize("@ss.hasPermi('system:template:query')")
//    @PreAuthorize("@ss.hasPermi('system:template:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
@@ -69,7 +69,7 @@
    /**
     * 新增考核模板
     */
    @PreAuthorize("@ss.hasPermi('system:template:add')")
//    @PreAuthorize("@ss.hasPermi('system:template:add')")
    @Log(title = "考核模板", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody CheckTemplateQuery checkTemplateDTO)