From 5ac6ad0ec6e861d4d2275753d15d2ad7f870915a Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 22 六月 2026 17:20:07 +0800
Subject: [PATCH] 6、明细记录中有删除操作的,需设置权限; 7、质量管理要设置检验规则;

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