From 5d81fcc5768741323a2e343fc01f44e17e68b65b Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 25 六月 2026 14:59:38 +0800
Subject: [PATCH] 1.库存入库新增质检流程 2.销售相关查询返回总合同号 3.采购相关查询返回总合同号

---
 src/main/java/com/ruoyi/sales/controller/MetricStatisticsController.java |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/sales/controller/MetricStatisticsController.java b/src/main/java/com/ruoyi/sales/controller/MetricStatisticsController.java
index 577508a..f6fe494 100644
--- a/src/main/java/com/ruoyi/sales/controller/MetricStatisticsController.java
+++ b/src/main/java/com/ruoyi/sales/controller/MetricStatisticsController.java
@@ -55,4 +55,25 @@
         return R.ok(customerService.customewTransactionsDetails(page,customerId));
     }
 
+    @GetMapping("/customerTransactionsSummary")
+    @Log(title = "瀹㈡埛寰�鏉ョ粺璁℃眹鎬�", businessType = BusinessType.OTHER)
+    @Operation(summary = "瀹㈡埛寰�鏉ョ粺璁℃眹鎬�")
+    public R customerTransactionsSummary(Long customerId) {
+        return R.ok(customerService.getCustomerTransactionsSummary(customerId));
+    }
+
+    @GetMapping("/customerTransactionsProducts")
+    @Log(title = "瀹㈡埛寰�鏉ヤ骇鍝佹槑缁�", businessType = BusinessType.OTHER)
+    @Operation(summary = "瀹㈡埛寰�鏉ヤ骇鍝佹槑缁�")
+    public R customerTransactionsProducts(Page page, Long customerId, Long salesLedgerId) {
+        return R.ok(customerService.getCustomerTransactionsProducts(page, customerId, salesLedgerId));
+    }
+
+    @GetMapping("/customerTransactionsShipments")
+    @Log(title = "瀹㈡埛寰�鏉ュ彂璐ф槑缁�", businessType = BusinessType.OTHER)
+    @Operation(summary = "瀹㈡埛寰�鏉ュ彂璐ф槑缁�")
+    public R customerTransactionsShipments(Page page, Long customerId, Long salesLedgerId) {
+        return R.ok(customerService.getCustomerTransactionsShipments(page, customerId, salesLedgerId));
+    }
+
 }

--
Gitblit v1.9.3