From 9cd4074a456fd5c422506279191b6015836347e5 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 30 十月 2026 10:08:35 +0800
Subject: [PATCH] feat: 设备台账启用状态、审批签核展示与导入健壮性
---
src/main/java/com/ruoyi/sales/controller/SalesLedgerController.java | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/sales/controller/SalesLedgerController.java b/src/main/java/com/ruoyi/sales/controller/SalesLedgerController.java
index ea18246..af93f28 100644
--- a/src/main/java/com/ruoyi/sales/controller/SalesLedgerController.java
+++ b/src/main/java/com/ruoyi/sales/controller/SalesLedgerController.java
@@ -166,6 +166,24 @@
return toAjax(salesLedgerService.addOrUpdateSalesLedger(salesLedgerDto));
}
+ @PostMapping("/createFrameworkOrder")
+ @Operation(summary = "鍒涘缓妗嗘灦璁㈠崟")
+ public AjaxResult createFrameworkOrder(@RequestBody SalesLedgerDto salesLedgerDto) {
+ return toAjax(salesLedgerService.createFrameworkOrder(salesLedgerDto));
+ }
+
+ @GetMapping("/listFrameworkOrders")
+ @Operation(summary = "鏌ヨ妗嗘灦鍚堝悓涓嬬殑妗嗘灦璁㈠崟")
+ public AjaxResult listFrameworkOrders(@RequestParam("parentContractId") Long parentContractId) {
+ return AjaxResult.success(salesLedgerService.listFrameworkOrders(parentContractId));
+ }
+
+ @GetMapping("/frameworkContractShippedQuantity")
+ @Operation(summary = "鏌ヨ妗嗘灦鍚堝悓绱宸插彂璐ф暟閲�")
+ public AjaxResult frameworkContractShippedQuantity(@RequestParam("parentContractId") Long parentContractId) {
+ return AjaxResult.success(salesLedgerService.getFrameworkContractShippedQuantity(parentContractId));
+ }
+
/**
* 鍒犻櫎閿�鍞彴璐�
*/
--
Gitblit v1.9.3