From 208bb2f289ce8a7b59f587a9f57e24c0fc8a0ba6 Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期日, 24 九月 2023 21:48:40 +0800
Subject: [PATCH] MOM系统-9-24 加班
---
standard-server/src/main/resources/mapper/TechniqueMapper.xml | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/standard-server/src/main/resources/mapper/TechniqueMapper.xml b/standard-server/src/main/resources/mapper/TechniqueMapper.xml
index cb02dc1..4132bae 100644
--- a/standard-server/src/main/resources/mapper/TechniqueMapper.xml
+++ b/standard-server/src/main/resources/mapper/TechniqueMapper.xml
@@ -65,7 +65,7 @@
and specifications_id = #{specificationsId}
and tq.version = #{version}
<if test="message!=null and message!=''">
- and device like concat('%',#{message},'%')
+ and name like concat('%',#{message},'%')
</if>
</select>
@@ -111,24 +111,25 @@
and specifications_id = #{specificationsId})
</select>
<!--鏍规嵁宸ヨ壓璺嚎id鏌ヨ鎵�鏈夌増鏈�-->
- <select id="selectVerByTeId" resultType="java.lang.Integer">
+ <!-- <select id="selectVerByTeId" resultType="java.lang.Integer">
select distinct version
from mom_ocean.technique
where state = 1
and technology_id = #{technologyId}
- </select>
+ </select>-->
<!--鏌ヨ璇ュ伐鑹轰笅鏈�鏂扮増鏈湪涓�涓楠岄」鐩笅鍙互浣跨敤鍝簺璁惧-->
- <select id="selDevByVerTecIdFaNam" resultType="java.util.Map">
+ <!--<select id="selDevByVerTecIdFaNam" resultType="java.util.Map">
select device.id, device
from mom_ocean.technique
left join mom_ocean.device on name = device
where technique.state = 1
+ and device.state = 1
and technology_id = #{technologyId}
and product_father = #{father}
and product = #{name}
and version = #{ver}
- </select>
+ </select>-->
<!--鏍规嵁id鏌ョ湅璇︽儏-->
<select id="selTeqById" resultType="java.util.Map">
--
Gitblit v1.9.3