develop
CrazyIter_Bin 2 months ago
parent 99337c5835
commit e64b8d8e8c

@ -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