healchow commented on code in PR #7621:
URL: https://github.com/apache/inlong/pull/7621#discussion_r1138236276


##########
inlong-manager/manager-dao/src/main/resources/mappers/StreamSourceEntityMapper.xml:
##########
@@ -458,6 +475,22 @@
             modify_time = modify_time
         where id = #{id,jdbcType=INTEGER}
     </update>
+    <update id="updateStatusByIds">
+        update stream_source
+        <set>
+            previous_status = status,
+            status          = #{status, jdbcType=INTEGER},
+            modifier        = #{operator,jdbcType=VARCHAR},
+            version         = version + 1
+        </set>
+        <where>
+            is_deleted = 0
+            and id in

Review Comment:
   How about the `idList` was empty?



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