删除 src/main/java/co/jp/app/repository/userRepository.java

This commit is contained in:
2025-05-12 15:50:16 +09:00
parent e307eb06cc
commit f6099d382f

View File

@ -1,18 +0,0 @@
package co.jp.app.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;
import co.jp.app.entity.UserEntity;
public interface userRepository extends JpaRepository<UserEntity, Integer> {
public default UserEntity getByName(@Param("name") String name) {
return getByName(name);
}
public default UserEntity getByEmail(@Param("email")String email) {
return getByEmail(email);
}
}