|
|
@ -14,6 +14,6 @@ import java.util.List;
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Repository
|
|
|
|
@Repository
|
|
|
|
public interface TeacherRepository extends CosmosRepository<Teacher, String> {
|
|
|
|
public interface TeacherRepository extends CosmosRepository<Teacher, String> {
|
|
|
|
@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<Teacher> findAllByCodeAndIdIn(String code, Collection<String> ids);
|
|
|
|
List<Teacher> findAllByCodeAndIdIn(String code, Collection<String> ids);
|
|
|
|
}
|
|
|
|
}
|
|
|
|