develop
CrazyIter_Bin 2 months ago
parent 7358250cd3
commit 99337c5835

@ -14,6 +14,6 @@ import java.util.List;
*/
@Repository
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);
}

Loading…
Cancel
Save