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.
13 lines
388 B
13 lines
388 B
package com.mydreamjob.ability;
|
|
|
|
import org.springframework.data.jpa.repository.JpaRepository;
|
|
|
|
import java.util.List;
|
|
import java.util.Optional;
|
|
|
|
public interface AbilityDefinitionRepository extends JpaRepository<AbilityDefinition, Long> {
|
|
|
|
Optional<AbilityDefinition> findByTypeCode(String typeCode);
|
|
|
|
List<AbilityDefinition> findAllByStatusOrderByCreatedAtAsc(String status);
|
|
}
|