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
---
standard-server/src/main/resources/mapper/TechniqueMapper.xml | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/standard-server/src/main/resources/mapper/TechniqueMapper.xml b/standard-server/src/main/resources/mapper/TechniqueMapper.xml
index dfa3f44..2fc35c2 100644
--- a/standard-server/src/main/resources/mapper/TechniqueMapper.xml
+++ b/standard-server/src/main/resources/mapper/TechniqueMapper.xml
@@ -108,6 +108,29 @@
and version = #{ver}
</select>
+ <!--鏍规嵁id鏌ョ湅璇︽儏-->
+ <select id="selTeqById" resultType="java.util.Map">
+ select m.father,
+ type,
+ m.name,
+ st.name,
+ sp.name,
+ t.father,
+ t.name,
+ technology_id,
+ device,
+ product_father,
+ product,
+ unit
+ from mom_ocean.technique tq
+ left join mom_ocean.technology t on tq.technology_id = t.id
+ left join mom_ocean.specifications sp on t.specifications_id = sp.id
+ left join mom_ocean.standard st on sp.standard_id = st.id
+ left join mom_ocean.material m on st.material_id = m.id
+ where tq.state = 1
+ and tq.id = #{id}
+ </select>
+
<!--鏍规嵁宸ヨ壓璺嚎id鍒犻櫎鐢熶骇宸ヨ壓-->
<update id="delTeqByTecId">
update mom_ocean.technique
--
Gitblit v1.9.3