From e5ea2c30e33f280ffc8a0ce78224ef99fb6679b1 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期二, 30 十二月 2025 08:16:06 +0800
Subject: [PATCH] 在制品报表导出修改

---
 north-glass-erp/src/main/resources/mapper/sd/CustomerMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/sd/CustomerMapper.xml b/north-glass-erp/src/main/resources/mapper/sd/CustomerMapper.xml
index 35022ef..f94fa7d 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/CustomerMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/CustomerMapper.xml
@@ -149,6 +149,12 @@
               order by id desc
     </select>
 
+    <select id="countByCustomerName">
+        SELECT COUNT(*)
+        FROM sd.customer
+        WHERE customer_name=#{customer.customerName}
+    </select>
+
     <select id="getSelectCustomer">
         select
             *

--
Gitblit v1.8.0