Skip to content

Commit

Permalink
Fiw missing curlybrace
Browse files Browse the repository at this point in the history
  • Loading branch information
alicela committed Feb 23, 2024
1 parent 2764b56 commit 07ace3f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ public interface SurveyUnitUpdateMongoDBRepository extends MongoRepository<Surve

List<SurveyUnitUpdateDocument> findByIdUE(String idUE);

//List<SurveyUnitUpdateDocument> findByIdQuestionnaire(String idQuestionnaire);

List<SurveyUnitUpdateDocument> findByIdUEAndIdQuestionnaire(String idUE, String idQuestionnaire);

@Query(value = "{ 'idQuestionnaire' : ?0 }", fields="{ 'idUE' : 1, 'mode' : 1}")
@Query(value = "{ 'idQuestionnaire' : ?0 }", fields = "{ 'idUE' : 1, 'mode' : 1}")
List<SurveyUnitDocument> findIdUEsByIdQuestionnaire(String idQuestionnaire);

Long deleteByIdQuestionnaire(String idQuestionnaire);

@Meta(cursorBatchSize = 20)
Stream<SurveyUnitUpdateDocument> findByIdQuestionnaire(String idQuestionnaire);

}

0 comments on commit 07ace3f

Please sign in to comment.