From 045128ca645bf1668c6c3b050746e90cd8935258 Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期四, 25 十二月 2025 15:25:04 +0800
Subject: [PATCH] 提交 产品名称判断逻辑

---
 north-glass-erp/src/main/resources/mapper/sd/ProductMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 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 f618b08..479afa7 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/ProductMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/ProductMapper.xml
@@ -90,11 +90,11 @@
     </select>
 
     <select id="selectProduct">
-        select * from sd.product where ${productName}=#{productNameValue}
+        select id from sd.product where ${productName}=#{productNameValue}
     </select>
 
     <select id="selectProductId">
-        select * from sd.product where ${productName}=#{productNameValue} and id != #{id}
+        select id from sd.product where ${productName}=#{productNameValue} and id != #{id}
     </select>
 
     <select id="getPageTotal" >

--
Gitblit v1.8.0