From 1fcaf7919db7ec3350e9bf953c0d651d4d85fac2 Mon Sep 17 00:00:00 2001 From: liyong <18434998025@163.com> Date: 星期一, 23 六月 2025 11:45:48 +0800 Subject: [PATCH] 2025-06-23 回款登记导出+分页查询条件问题修复+【采购管理】-【来票登记】,合同金额列后面增加已开票金额、待开票金额两列 --- src/main/java/com/ruoyi/purchase/controller/PurchaseLedgerController.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ruoyi/purchase/controller/PurchaseLedgerController.java b/src/main/java/com/ruoyi/purchase/controller/PurchaseLedgerController.java index bfb9a31..ea6eda5 100644 --- a/src/main/java/com/ruoyi/purchase/controller/PurchaseLedgerController.java +++ b/src/main/java/com/ruoyi/purchase/controller/PurchaseLedgerController.java @@ -12,6 +12,7 @@ import com.ruoyi.purchase.pojo.PurchaseLedger; import com.ruoyi.purchase.service.IPurchaseLedgerService; import com.ruoyi.sales.service.ISalesLedgerService; +import io.swagger.annotations.ApiOperation; import lombok.AllArgsConstructor; import org.springframework.web.bind.annotation.*; @@ -88,6 +89,15 @@ return salesLedgerService.getSalesNo(); } + + /** + * 鏍规嵁閿�鍞悎鍚屾煡璇骇鍝佷俊鎭� + */ + @GetMapping("/getProductBySalesNo") + public AjaxResult getProductBySalesNo(Long id) { + return AjaxResult.success(purchaseLedgerService.getProductBySalesNo(id)); + } + /** * 鏌ヨ閲囪喘鍚堝悓鍙� */ @@ -127,4 +137,11 @@ public IPage<PurchaseLedger> listPage(Page page, PurchaseLedger purchaseLedger) { return purchaseLedgerService.selectPurchaseLedgerListPage(page ,purchaseLedger); } + + @ApiOperation("鐢熸垚閲囪喘搴忓垪鍙�") + @GetMapping("/createPurchaseNo") + @Log(title = "鐢熸垚閲囪喘搴忓垪鍙�", businessType = BusinessType.OTHER) + public AjaxResult createPurchaseNo() { + return AjaxResult.success("鐢熸垚鎴愬姛",purchaseLedgerService.getPurchaseNo()); + } } -- Gitblit v1.9.3