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/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