From 7358250cd360cefbc50b74aabbabf4fd2a4a42a6 Mon Sep 17 00:00:00 2001 From: CrazyIter_Bin Date: Wed, 30 Oct 2024 17:05:13 +0800 Subject: [PATCH 1/3] 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); } From 99337c5835e13dc06589b6651d5de63235e82226 Mon Sep 17 00:00:00 2001 From: CrazyIter_Bin Date: Wed, 30 Oct 2024 17:07:03 +0800 Subject: [PATCH 2/3] 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); } From e64b8d8e8c034589cec82690a046480557afdd99 Mon Sep 17 00:00:00 2001 From: CrazyIter_Bin Date: Wed, 30 Oct 2024 17:07:44 +0800 Subject: [PATCH 3/3] 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); }