use of com.dtstack.taier.dao.dto.BatchTaskDTO in project Taier by DTStack.
the class BatchTaskService method getFlowWorkSubTasks.
/**
* 获取任务流下的所有子任务
*
* @param taskId
* @return
*/
public List<BatchTask> getFlowWorkSubTasks(final Long taskId) {
BatchTaskDTO batchTaskDTO = new BatchTaskDTO();
batchTaskDTO.setIsDeleted(Deleted.NORMAL.getStatus());
batchTaskDTO.setFlowId(taskId);
PageQuery<BatchTaskDTO> pageQuery = new PageQuery<>(batchTaskDTO);
List<BatchTask> batchTasks = this.developTaskDao.generalQuery(pageQuery);
return batchTasks;
}
Aggregations