From 608fa275864c7cb4353e5e030e4a1304e56529ac Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期三, 20 九月 2023 13:12:05 +0800
Subject: [PATCH] 修改4.0 9.20
---
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