From 23d4046a5a71b254bd6b3f525e8ee64e2fb4ea3d Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期三, 05 十一月 2025 09:43:45 +0800
Subject: [PATCH] 初始化TMS
---
service/src/main/java/com/ruoyi/cwgl/controller/PendingSettlementBusinessController.java | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/service/src/main/java/com/ruoyi/cwgl/controller/PendingSettlementBusinessController.java b/service/src/main/java/com/ruoyi/cwgl/controller/PendingSettlementBusinessController.java
index 47c07c8..47c5dc1 100644
--- a/service/src/main/java/com/ruoyi/cwgl/controller/PendingSettlementBusinessController.java
+++ b/service/src/main/java/com/ruoyi/cwgl/controller/PendingSettlementBusinessController.java
@@ -1,6 +1,8 @@
package com.ruoyi.cwgl.controller;
import java.util.List;
+
+import com.ruoyi.cwgl.domain.vo.CreateBillVo;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
@@ -105,4 +107,37 @@
{
return toAjax(pendingSettlementBusinessService.deletePendingSettlementBusinessByIds(ids));
}
+ /**
+ * 鏌ヨ鍏ヨ处涓氬姟
+ */
+ @GetMapping("bill/{ids}")
+ public AjaxResult billIds(@PathVariable Integer[] ids)
+ {
+ return AjaxResult.success(pendingSettlementBusinessService.billIds(ids));
+ }
+ /**
+ * 鏌ヨ鍏ヨ处涓氬姟
+ */
+ @GetMapping("bill/list")
+ public AjaxResult billList(PendingSettlementBusiness pendingSettlementBusiness)
+ {
+ return AjaxResult.success(pendingSettlementBusinessService.billList(pendingSettlementBusiness));
+ }
+
+ @PostMapping("create/bill/{ids}")
+ public AjaxResult createBillIds(@PathVariable Integer[] ids, @RequestBody CreateBillVo createBillVo)
+ {
+ return toAjax(pendingSettlementBusinessService.createBillIds(ids,createBillVo));
+ }
+ @GetMapping("create/bill/list")
+ public AjaxResult createBillList(PendingSettlementBusiness pendingSettlementBusiness)
+ {
+ return toAjax(pendingSettlementBusinessService.createBillList(pendingSettlementBusiness));
+ }
+ @GetMapping("select/customName")
+ public AjaxResult selectCustomName()
+ {
+ return AjaxResult.success(pendingSettlementBusinessService.selectCustomName());
+ }
+
}
--
Gitblit v1.8.0