TA 역할 Spring 경계 smoke (role-ta-live-1522-001)
This commit is contained in:
parent
8ef79bc9ae
commit
35bbfbba34
1 changed files with 13 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
package com.klaroworks.runtime.rolematrix.repository;
|
||||
|
||||
import com.klaroworks.runtime.rolematrix.domain.RoleMatrix;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import java.util.Optional;
|
||||
|
||||
/** 역할 매트릭스 JPA 리포지토리 */
|
||||
@Repository
|
||||
public interface RoleMatrixRepository extends JpaRepository<RoleMatrix, Long> {
|
||||
Optional<RoleMatrix> findByName(String name);
|
||||
boolean existsByName(String name);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue