vernedeng commented on code in PR #10246: URL: https://github.com/apache/inlong/pull/10246#discussion_r1607840971
########## inlong-manager/manager-dao/src/main/resources/mappers/StreamSourceEntityMapper.xml: ########## @@ -120,6 +120,19 @@ </if> </where> </select> + <select id="selectDataAddTaskCount" resultType="java.lang.Integer"> + select count(1) + from stream_source + <where> + <if test="groupId != null and groupId != ''"> + and inlong_group_id = #{groupId, jdbcType=VARCHAR} + </if> + <if test="streamId != null and streamId != ''"> + and inlong_stream_id = #{streamId, jdbcType=VARCHAR} + </if> + and task_map_id is not NULL Review Comment: and is_deleted=0 -- 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: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org