fuweng11 commented on code in PR #8149:
URL: https://github.com/apache/inlong/pull/8149#discussion_r1213874940


##########
inlong-manager/manager-dao/src/main/resources/mappers/InlongClusterNodeEntityMapper.xml:
##########
@@ -114,8 +114,8 @@
             </if>
             <if test="keyword != null and keyword != ''">
                 and (
-                ip like CONCAT('%', #{keyword}, '%')

Review Comment:
   keyword is used for fuzzy queries.For an exact lookup, add
   ```
    <if test="ip != null and ip != ''">
         and ip = #{ip, jdbcType=VARCHAR}
    </if>
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to