You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
583 B

package com.mydreamjob.talentdiscovery;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
@Repository
public interface StudentTalentDiscoveryPreferenceRepository
extends JpaRepository<StudentTalentDiscoveryPreference, Long> {
Optional<StudentTalentDiscoveryPreference> findByStudentUserId(Long studentUserId);
List<StudentTalentDiscoveryPreference> findByStudentUserIdInAndEnabledTrue(Collection<Long> studentUserIds);
}