From 05d6de25d55bdf1e2f3cde9d310c2cd14d59837a Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期三, 17 七月 2024 12:51:33 +0800
Subject: [PATCH] 提交

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

diff --git a/north-glass-erp/src/main/resources/mapper/sd/ProductMapper.xml b/north-glass-erp/src/main/resources/mapper/sd/ProductMapper.xml
index e915d83..cbeb517 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/ProductMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/ProductMapper.xml
@@ -74,6 +74,14 @@
         ;
     </select>
 
+    <select id="selectProduct">
+        select * from sd.product where ${productName}=#{productNameValue}
+    </select>
+
+    <select id="selectProductId">
+        select * from sd.product where ${productName}=#{productNameValue} and id != #{id}
+    </select>
+
     <select id="getPageTotal" >
         select
             CEILING(count(a.id)/#{pageSize})

--
Gitblit v1.8.0