From f3ee7ee6ce83cd0ce4264a317a83c5e07aed3fbd Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 19 七月 2024 17:31:57 +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