From d87721bf2b5cbbdc8088c9f9e0bfbba61b125a0f Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期四, 04 九月 2025 14:12:21 +0800
Subject: [PATCH] 修改接口

---
 service/src/main/java/com/ruoyi/cwgl/controller/EstimatedReceivableController.java |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/service/src/main/java/com/ruoyi/cwgl/controller/EstimatedReceivableController.java b/service/src/main/java/com/ruoyi/cwgl/controller/EstimatedReceivableController.java
index 736e2be..fc08480 100644
--- a/service/src/main/java/com/ruoyi/cwgl/controller/EstimatedReceivableController.java
+++ b/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')")

--
Gitblit v1.8.0