From 011f2ef91351719dca12d36abef4d498b2eb86b8 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期一, 12 一月 2026 16:03:35 +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