luchunliang commented on code in PR #9340:
URL: https://github.com/apache/inlong/pull/9340#discussion_r1406992541
##########
inlong-manager/manager-dao/src/main/resources/mappers/OperationLogEntityMapper.xml:
##########
@@ -48,25 +51,52 @@
from operation_log
where id = #{id,jdbcType=INTEGER}
</select>
+ <select id="selectByCondition" resultMap="BaseResultMap"
+
parameterType="org.apache.inlong.manager.pojo.operationLog.OperationLogRequest">
+ select
+ <include refid="Base_Column_List"/>
+ from operation_log
+ <where>
+ <if test="request.inlongGroupId != null and request.inlongGroupId
!= ''">
+ and inlong_group_id = #{request.inlongGroupId,
jdbcType=VARCHAR}
+ </if>
+ <if test="request.inlongStreamId != null and
request.inlongStreamId != ''">
Review Comment:
How to fuzzy search datanode or inlong cluster log?
##########
inlong-manager/manager-dao/src/main/resources/mappers/OperationLogEntityMapper.xml:
##########
@@ -48,25 +51,52 @@
from operation_log
where id = #{id,jdbcType=INTEGER}
</select>
+ <select id="selectByCondition" resultMap="BaseResultMap"
+
parameterType="org.apache.inlong.manager.pojo.operationLog.OperationLogRequest">
+ select
+ <include refid="Base_Column_List"/>
+ from operation_log
+ <where>
+ <if test="request.inlongGroupId != null and request.inlongGroupId
!= ''">
Review Comment:
groupId and streamId need fuzzy search.
--
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]