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); }