From 7358250cd360cefbc50b74aabbabf4fd2a4a42a6 Mon Sep 17 00:00:00 2001 From: CrazyIter_Bin Date: Wed, 30 Oct 2024 17:05:13 +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 6574f54..24d6bb6 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); }