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/basic/mapper/CustomerMapper.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/basic/mapper/CustomerMapper.java b/src/main/java/com/ruoyi/basic/mapper/CustomerMapper.java
index f871b91..1bc9f0f 100644
--- a/src/main/java/com/ruoyi/basic/mapper/CustomerMapper.java
+++ b/src/main/java/com/ruoyi/basic/mapper/CustomerMapper.java
@@ -8,6 +8,9 @@
 import com.ruoyi.basic.vo.CustomerVo;
 import com.ruoyi.sales.vo.CustomerTransactionsDetailsVo;
 import com.ruoyi.sales.vo.CustomerTransactionsVo;
+import com.ruoyi.sales.vo.CustomerTransactionsProductVo;
+import com.ruoyi.sales.vo.CustomerTransactionsShipmentVo;
+import com.ruoyi.sales.vo.CustomerTransactionsSummaryVo;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
 
@@ -77,4 +80,21 @@
     IPage<CustomerTransactionsVo> customewTransactions(Page page, @Param("customerName") String customerName);
 
     IPage<CustomerTransactionsDetailsVo> customewTransactionsDetails(Page page, @Param("customerId") Long customerId);
+
+    /**
+     * 鏌ヨ瀹㈡埛寰�鏉ョ粺璁℃眹鎬�
+     */
+    CustomerTransactionsSummaryVo getCustomerTransactionsSummary(@Param("customerId") Long customerId);
+
+    /**
+     * 鏌ヨ瀹㈡埛寰�鏉ヤ骇鍝佹槑缁�
+     */
+    IPage<CustomerTransactionsProductVo> getCustomerTransactionsProducts(Page page,
+            @Param("customerId") Long customerId, @Param("salesLedgerId") Long salesLedgerId);
+
+    /**
+     * 鏌ヨ瀹㈡埛寰�鏉ュ彂璐ф槑缁�
+     */
+    IPage<CustomerTransactionsShipmentVo> getCustomerTransactionsShipments(Page page,
+            @Param("customerId") Long customerId, @Param("salesLedgerId") Long salesLedgerId);
 }

--
Gitblit v1.9.3