insist777 commented on code in PR #13031:
URL: 
https://github.com/apache/dolphinscheduler/pull/13031#discussion_r1036670738


##########
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.java:
##########
@@ -287,4 +288,25 @@ IPage<ProcessInstance> 
queryProcessInstanceListV2Paging(Page<ProcessInstance> pa
                                                             @Param("state") 
Integer state,
                                                             @Param("host") 
String host);
 
+    /**
+     * Statistics process instance state v2
+     * <p>
+     * We only need project codes to determine whether the process instance 
belongs to the user or not.
+     *
+     * @param startTime    startTime
+     * @param endTime      endTime
+     * @param projectCode  projectCode
+     * @param workflowCode workflowCode
+     * @param model model

Review Comment:
   There are examples in StatisticsStateRequest.
   



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