package com.northglass.repository;
|
|
import java.util.List;
|
|
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.Query;
|
|
import com.northglass.entity.SlicecagePattern;
|
|
public interface SlicecagePatternDao extends JpaRepository<SlicecagePattern, Long>{
|
|
|
@Query("select t from SlicecagePattern t where t.groups=?1 ")
|
public SlicecagePattern findById(Long groups);
|
}
|