This is an automated email from the ASF dual-hosted git repository.
healchow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 59cd1184b [INLONG-6768][Manager] Fix that unable to find the data node
according to the keyword (#6769)
59cd1184b is described below
commit 59cd1184b2ac6300c36d59a83f6af1a317132238
Author: fuweng11 <[email protected]>
AuthorDate: Tue Dec 6 22:23:07 2022 +0800
[INLONG-6768][Manager] Fix that unable to find the data node according to
the keyword (#6769)
---
.../manager-dao/src/main/resources/mappers/DataNodeEntityMapper.xml | 1 +
1 file changed, 1 insertion(+)
diff --git
a/inlong-manager/manager-dao/src/main/resources/mappers/DataNodeEntityMapper.xml
b/inlong-manager/manager-dao/src/main/resources/mappers/DataNodeEntityMapper.xml
index 3cfcbf398..7a379389d 100644
---
a/inlong-manager/manager-dao/src/main/resources/mappers/DataNodeEntityMapper.xml
+++
b/inlong-manager/manager-dao/src/main/resources/mappers/DataNodeEntityMapper.xml
@@ -84,6 +84,7 @@
and type = #{type, jdbcType=VARCHAR}
</if>
<if test="keyword != null and keyword != ''">
+ and (
name like CONCAT('%', #{keyword}, '%')
or type like CONCAT('%', #{keyword}, '%')
or url like CONCAT('%', #{keyword}, '%')