zhangback
2025-12-17 0c1bc5fee8cef2751633c049e1f431477fb81fdd
service/src/main/java/com/ruoyi/cwgl/controller/EstimatedReceivableController.java
@@ -74,6 +74,36 @@
    }
    /**
     * 确认
     */
    @PreAuthorize("@ss.hasPermi('cwgl:estimatedReceivable:confirm')")
    @GetMapping(value = "confirm/{id}")
    public AjaxResult confirm(@PathVariable("id") Integer id)
    {
        return toAjax(estimatedReceivableService.confirm(id));
    }
    /**
     * 取消
     */
    @PreAuthorize("@ss.hasPermi('cwgl:estimatedReceivable:cancel')")
    @GetMapping(value = "cancel/{id}")
    public AjaxResult cancel(@PathVariable("id") Integer id)
    {
        return toAjax(estimatedReceivableService.cancel(id));
    }
    /**
     * 作废
     */
    @PreAuthorize("@ss.hasPermi('cwgl:estimatedReceivable:invalid')")
    @GetMapping(value = "invalid/{id}")
    public AjaxResult invalid(@PathVariable("id") Integer id)
    {
        return toAjax(estimatedReceivableService.invalid(id));
    }
    /**
     * 新增预估应收管理
     */
    @PreAuthorize("@ss.hasPermi('cwgl:estimatedReceivable:add')")