From 19b596d3c05b1ca7ff80d8b802e7f6e03ad77dad Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期一, 11 九月 2023 18:02:17 +0800
Subject: [PATCH] 修改   9.11

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

diff --git a/base-server/src/main/resources/mapper/TechnicalModelMapper.xml b/base-server/src/main/resources/mapper/TechnicalModelMapper.xml
index 7effd0b..731903d 100644
--- a/base-server/src/main/resources/mapper/TechnicalModelMapper.xml
+++ b/base-server/src/main/resources/mapper/TechnicalModelMapper.xml
@@ -52,7 +52,7 @@
         <result property="name" column="techName"/>
     </resultMap>
     <select id="chooseTechFath" resultMap="chooseTechFathMap">
-        select id techTemId,
+        select id     techTemId,
                name   techName,
                father techFather
         from mom_ocean.technology_template
@@ -73,6 +73,7 @@
         select technical_model.father,
                technical_model.name,
                unit,
+               technology_template.id,
                technology_template.name   techName,
                technology_template.father techFather,
                type
@@ -93,8 +94,8 @@
     <!--鍒犻櫎鏍规嵁宸ヨ壓璺嚎id-->
     <update id="delTeMoByTechId">
         update mom_ocean.technical_model
-            set state=0
-        where tech_tem_id=#{id}
+        set state=0
+        where tech_tem_id = #{id}
     </update>
 
     <!--鎵归噺鍒犻櫎鏍规嵁宸ヨ壓璺嚎id-->

--
Gitblit v1.9.3