From 13ef502835ce8bd84a797e97066d6684cb82889a Mon Sep 17 00:00:00 2001
From: sen <sen@qq.com>
Date: 星期一, 18 八月 2025 11:32:34 +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