From d537057a0bac012bb6909b89586089a01b8d8a9e Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期三, 24 十二月 2025 13:48:03 +0800
Subject: [PATCH] 新增供应商银行
---
service/src/main/java/com/ruoyi/cwgl/controller/PayableFeeManagementController.java | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/service/src/main/java/com/ruoyi/cwgl/controller/PayableFeeManagementController.java b/service/src/main/java/com/ruoyi/cwgl/controller/PayableFeeManagementController.java
index 4b697a7..5da9159 100644
--- a/service/src/main/java/com/ruoyi/cwgl/controller/PayableFeeManagementController.java
+++ b/service/src/main/java/com/ruoyi/cwgl/controller/PayableFeeManagementController.java
@@ -18,6 +18,8 @@
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.cwgl.domain.PayableFeeManagement;
import com.ruoyi.cwgl.service.IPayableFeeManagementService;
+import com.ruoyi.cwgl.domain.vo.PayableFeeStatisticsVo;
+import com.ruoyi.cwgl.domain.vo.PayableBillCreateVo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
@@ -105,4 +107,37 @@
{
return toAjax(payableFeeManagementService.deletePayableFeeManagementByIds(ids));
}
+
+ /**
+ * 鏌ヨ搴斾粯璐圭敤缁熻淇℃伅
+ */
+ @PreAuthorize("@ss.hasPermi('cwgl:payableFeeManagement:query')")
+ @GetMapping("/getStatistics/{ids}")
+ public AjaxResult getStatistics(@PathVariable Integer[] ids)
+ {
+ PayableFeeStatisticsVo statisticsVo = payableFeeManagementService.getPayableFeeStatistics(ids);
+ return AjaxResult.success(statisticsVo);
+ }
+
+ /**
+ * 鍒涘缓搴斾粯璐﹀崟
+ */
+ @PreAuthorize("@ss.hasPermi('cwgl:payableFeeManagement:edit')")
+ @Log(title = "搴斾粯璐圭敤绠$悊", businessType = BusinessType.UPDATE)
+ @PostMapping("/createBill")
+ public AjaxResult createBill(@RequestBody PayableBillCreateVo billCreateVo)
+ {
+ return toAjax(payableFeeManagementService.createPayableBill(billCreateVo));
+ }
+
+ /**
+ * 浣滃簾搴斾粯璐圭敤绠$悊璁板綍
+ */
+ @PreAuthorize("@ss.hasPermi('cwgl:payableFeeManagement:void')")
+ @Log(title = "搴斾粯璐圭敤绠$悊", businessType = BusinessType.UPDATE)
+ @PutMapping("/void/{id}")
+ public AjaxResult voidPayableFee(@PathVariable("id") Integer id)
+ {
+ return toAjax(payableFeeManagementService.voidPayableFeeManagement(id));
+ }
}
--
Gitblit v1.8.0