vernedeng commented on code in PR #6230:
URL: https://github.com/apache/inlong/pull/6230#discussion_r1001326594


##########
inlong-manager/manager-dao/src/main/resources/mappers/InlongClusterEntityMapper.xml:
##########
@@ -247,4 +247,14 @@
         where id = #{id,jdbcType=INTEGER}
     </delete>
 
+    <select id="selectByClusterTag" 
resultType="org.apache.inlong.manager.dao.entity.InlongClusterEntity">
+        select
+        <include refid="Base_Column_List"/>
+        from inlong_cluster
+        <where>
+            is_deleted = 0
+            and inlong_cluster_tag = #{clusterTag, jdbcType=STRING}

Review Comment:
   my fault, fixed, thx



##########
inlong-manager/manager-dao/src/main/java/org/apache/inlong/manager/dao/mapper/InlongStreamExtEntityMapper.java:
##########
@@ -44,6 +44,9 @@ public interface InlongStreamExtEntityMapper {
 
     List<InlongStreamExtEntity> selectByRelatedId(@Param("groupId") String 
groupId, @Param("streamId") String streamId);
 
+    InlongStreamExtEntity selectByKey(@Param("groupId") String groupId, 
@Param("streamId") String streamId,
+                                      @Param("keyName") String keyName);

Review Comment:
   fixed, thx



-- 
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