From 22899f74279a47f4ec79e1325f8489d948ced005 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 15 九月 2023 17:24:44 +0800
Subject: [PATCH] 修改2.0   9.15

---
 standard-server/src/main/resources/mapper/TechnologyMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/standard-server/src/main/resources/mapper/TechnologyMapper.xml b/standard-server/src/main/resources/mapper/TechnologyMapper.xml
index b4b32e1..53d352f 100644
--- a/standard-server/src/main/resources/mapper/TechnologyMapper.xml
+++ b/standard-server/src/main/resources/mapper/TechnologyMapper.xml
@@ -32,7 +32,7 @@
         and specifications_id = #{specificationsId}
         and version = #{version}
         <if test="message!=null and message!=''">
-            and father like concat('%',#{message},'%')
+            and name like concat('%',#{message},'%')
         </if>
     </select>
 
@@ -42,6 +42,7 @@
         from mom_ocean.technology
         where state = 1
           and specifications_id = #{specificationsId}
+          and version = #{version}
     </select>
 
     <!--鍙充笂瑙掓柊澧�-鎶�鏈寚鏍�-閫夋嫨宸ュ簭,宸ヨ壓-->
@@ -60,6 +61,7 @@
         from mom_ocean.technology
         where state = 1
           and specifications_id = #{specificationsId}
+          and version = #{version}
     </select>
     <!--鏌ヨ璇ュ瀷鍙峰伐鑹轰笅鏈�鏂扮増鏈殑宸ヨ壓id-->
     <select id="selTech" resultType="java.lang.Integer">

--
Gitblit v1.9.3