From 9f11eb78b0da5c6130f011bcdbc943434c54d56a Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期六, 09 九月 2023 11:22:06 +0800
Subject: [PATCH] 修改bug5.0 9.9
---
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