Skip to content
Snippets Groups Projects
Commit e9b03366 authored by SedaQ's avatar SedaQ
Browse files

return all unique tasks.

parent dcec8971
No related branches found
No related tags found
No related merge requests found
Pipeline #75138 passed with stages
in 2 minutes and 4 seconds
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
@Repository @Repository
public interface ParticipantTaskAssignmentRepository extends JpaRepository<ParticipantTaskAssignment, Long>, QuerydslPredicateExecutor<ParticipantTaskAssignment> { public interface ParticipantTaskAssignmentRepository extends JpaRepository<ParticipantTaskAssignment, Long>, QuerydslPredicateExecutor<ParticipantTaskAssignment> {
@Query("SELECT p.task FROM ParticipantTaskAssignment p") @Query("SELECT DISTINCT(p.task) FROM ParticipantTaskAssignment p")
List<Task> findAllVisitedTasks(); List<Task> findAllVisitedTasks();
//TODO provide a SQL commands that returns all the relations between task transitions //TODO provide a SQL commands that returns all the relations between task transitions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment