no message

This commit is contained in:
2026-10-20 15:00:18 +09:00
parent 7e6bf7c80f
commit b6af343b77
2 changed files with 8 additions and 3 deletions

View File

@@ -127,3 +127,5 @@
</build>
</project>

View File

@@ -1,5 +1,7 @@
package com.example.demo.repository;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@@ -7,5 +9,6 @@ import com.example.demo.entity.EmployeeEntity;
@Repository
public interface EmployeeRepository extends JpaRepository<EmployeeEntity, Integer> {
Optional<EmployeeEntity> findByMailAddressAndPassword(String mailAddress, String password);
}