From d913cc2ef67620a9ad9f6fcfd38bea897a023c00 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 24 六月 2026 13:26:17 +0800
Subject: [PATCH] 1

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