From d5e3e8e67e817f0146df30d92ff8a16db674bea8 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期一, 25 九月 2023 11:03:20 +0800
Subject: [PATCH] 9-25

---
 standard-server/src/main/resources/mapper/ProductMapper.xml |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/standard-server/src/main/resources/mapper/ProductMapper.xml b/standard-server/src/main/resources/mapper/ProductMapper.xml
index 4a3bf35..06457e3 100644
--- a/standard-server/src/main/resources/mapper/ProductMapper.xml
+++ b/standard-server/src/main/resources/mapper/ProductMapper.xml
@@ -65,7 +65,7 @@
         and p.version = #{version}
         and specifications_id = #{specificationsId}
         <if test="message!=null and message!=''">
-            and p.name like concat('%',#{message},'%')
+            and p.father like concat('%',#{message},'%')
         </if>
     </select>
 
@@ -88,6 +88,13 @@
                                 where technology.state = 1
                                   and specifications_id = #{specificationsId})
     </select>
+    <!--鏌ヨ鏍囧噯BOM鎶�鏈寚鏍囦腑璇ュ瀷鍙峰伐鑹轰笅鏈�鏂扮増鏈殑妫�楠岄」鐩�-->
+    <select id="selProByVerSpe" resultType="com.yuanchu.mom.pojo.Product">
+        select *
+        from mom_ocean.product
+        where state = 1
+          and technology_id = #{technologyId}
+    </select>
 
     <!--鏍规嵁宸ヨ壓璺嚎id鍒犻櫎-->
     <update id="delProByTecId">

--
Gitblit v1.9.3