From cbf4b74927fe51c19c307d89b326ae999cb6a165 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 12 九月 2023 17:50:25 +0800
Subject: [PATCH] 修改   9.12

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

diff --git a/standard-server/src/main/resources/mapper/TechnologyMapper.xml b/standard-server/src/main/resources/mapper/TechnologyMapper.xml
index bfdd39d..b4b32e1 100644
--- a/standard-server/src/main/resources/mapper/TechnologyMapper.xml
+++ b/standard-server/src/main/resources/mapper/TechnologyMapper.xml
@@ -12,7 +12,7 @@
 
     <!--鍙充晶鏁版嵁灞曠ず 宸ヨ壓璺嚎-->
     <resultMap id="selectAllTecMap" type="map">
-        <id property="name" column="father"/>
+        <id property="father" column="father"/>
         <collection property="children" resultMap="selectAllTecMaps" javaType="List"/>
     </resultMap>
     <resultMap id="selectAllTecMaps" type="map">
@@ -61,6 +61,16 @@
         where state = 1
           and specifications_id = #{specificationsId}
     </select>
+    <!--鏌ヨ璇ュ瀷鍙峰伐鑹轰笅鏈�鏂扮増鏈殑宸ヨ壓id-->
+    <select id="selTech" resultType="java.lang.Integer">
+        select id
+        from mom_ocean.technology
+        where state = 1
+          and father = #{techfather}
+          and name = #{techname}
+          and specifications_id = #{specificationId}
+          and version = #{version}
+    </select>
 
     <!--鎵归噺鍒犻櫎-->
     <update id="delAllTech">

--
Gitblit v1.9.3