shouwangyw commented on code in PR #16681:
URL:
https://github.com/apache/dolphinscheduler/pull/16681#discussion_r1796701627
##########
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:
> I think we don't need to change this since we've already filtered it at
the entrance.
However, if someone uses this method in the future, there will be error.
--
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]