ruanwenjun commented on code in PR #16681:
URL: 
https://github.com/apache/dolphinscheduler/pull/16681#discussion_r1796322814


##########
dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/WorkflowDefinitionMapper.xml:
##########
@@ -200,10 +200,14 @@
             project_code as projectCode
             ,count(*) as count
         from t_ds_workflow_definition
-        where project_code in
-        <foreach collection="projectCodes" index="index" item="i" open="(" 
separator="," close=")">
-            #{i}
-        </foreach>
+        <where>

Review Comment:
   Yes, we should filter this in upper layer. The project_code should avoid to 
be null.



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