develop
CrazyIter_Bin 2 months ago
parent 8057c0f18f
commit 7358250cd3

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

Loading…
Cancel
Save