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.DropFrame; import com.northglass.entity.DropFrame3; public interface DropFrameDao3 extends JpaRepository{ @Query("select t from DropFrame3 t where t.groups=?1") public List findBystop(Long groups); @Query("select t from DropFrame3 t where t.stopRank=?1") public DropFrame3 findBystoprank(String stoprank); }