From 99337c5835e13dc06589b6651d5de63235e82226 Mon Sep 17 00:00:00 2001 From: CrazyIter_Bin Date: Wed, 30 Oct 2024 17:07:03 +0800 Subject: [PATCH] update --- src/main/java/cn/teammodel/repository/TeacherRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cn/teammodel/repository/TeacherRepository.java b/src/main/java/cn/teammodel/repository/TeacherRepository.java index 24d6bb6..6574f54 100644 --- a/src/main/java/cn/teammodel/repository/TeacherRepository.java +++ b/src/main/java/cn/teammodel/repository/TeacherRepository.java @@ -14,6 +14,6 @@ import java.util.List; */ @Repository public interface TeacherRepository extends CosmosRepository { - @Query("select c.id, c.name from Teacher as c where c.code = @code and c.id in (@ids)") + @Query("select c.id, c.name from Teacher as c where c.code = @code and c.id in (@ids)") List findAllByCodeAndIdIn(String code, Collection ids); }