github-advanced-security[bot] commented on code in PR #18444:
URL: 
https://github.com/apache/dolphinscheduler/pull/18444#discussion_r3819036803


##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/WorkflowInstanceService.java:
##########
@@ -69,18 +71,18 @@
      * @param otherParamsJson   otherParamsJson handle other params
      * @return workflow instance list
      */
-    Result<PageInfo<WorkflowInstance>> queryWorkflowInstanceList(User 
loginUser,
-                                                                 long 
projectCode,
-                                                                 long 
workflowDefinitionCode,
-                                                                 String 
startDate,
-                                                                 String 
endDate,
-                                                                 String 
searchVal,
-                                                                 String 
executorName,
-                                                                 
WorkflowExecutionStatus stateType,
-                                                                 String host,
-                                                                 String 
otherParamsJson,
-                                                                 Integer 
pageNo,
-                                                                 Integer 
pageSize);
+    Result<PageInfo<WorkflowInstanceSummaryVO>> queryWorkflowInstanceList(User 
loginUser,
+                                                                          long 
projectCode,
+                                                                          long 
workflowDefinitionCode,
+                                                                          
String startDate,
+                                                                          
String endDate,
+                                                                          
String searchVal,
+                                                                          
String executorName,
+                                                                          
WorkflowExecutionStatus stateType,
+                                                                          
String host,
+                                                                          
String otherParamsJson,

Review Comment:
   ## CodeQL / Useless parameter
   
   The parameter 'otherParamsJson' is never used.
   
   [Show more 
details](https://github.com/apache/dolphinscheduler/security/code-scanning/5855)



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