From 22899f74279a47f4ec79e1325f8489d948ced005 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 15 九月 2023 17:24:44 +0800
Subject: [PATCH] 修改2.0 9.15
---
standard-server/src/main/resources/mapper/TechniqueMapper.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/standard-server/src/main/resources/mapper/TechniqueMapper.xml b/standard-server/src/main/resources/mapper/TechniqueMapper.xml
index cb02dc1..8dd2a7b 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>
@@ -124,6 +124,7 @@
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}
--
Gitblit v1.9.3