wujianwei
2026-01-07 1091c0e1f8a96391fff3f918594b3ed6b1986c63
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')")