From 20956b0f05f81ca47cf6c3e8f9b3b426e9cfd035 Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期日, 24 九月 2023 21:54:01 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
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