package com.northglass.repository; import java.util.Date; 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.EdgPerimeter; import com.northglass.entity.Password; ; public interface PasswordDao extends JpaRepository{ @Query("select t from Password t where t.password=?1 and t.id=1") public Password findpassword(String password1); }