This commit is contained in:
2026-10-27 13:52:32 +09:00
parent fa606e3cbf
commit 309b2a2b79
5 changed files with 14 additions and 4 deletions

View File

@@ -34,4 +34,5 @@ public class LoginCheckInterceptor implements HandlerInterceptor {
}
return true;
}
}

View File

@@ -105,4 +105,5 @@ public class Employee {
public void setDateUpdate(LocalDateTime v) {
this.dateUpdate = v;
}
}

View File

@@ -10,4 +10,5 @@ public interface EmployeeRepository extends JpaRepository<Employee, Integer> {
Optional<Employee> findByMailAddressAndFlgRetirement(String mailAddress, String flgRetirement);
Optional<Employee> findByMailAddress(String mailAddress);
}

View File

@@ -18,6 +18,9 @@ import com.example.demo.entity.Employee;
import com.example.demo.form.EmployeeForm;
import com.example.demo.repository.EmployeeRepository;
/** EMP-01:社員登録、EMP-02:社員編集 */
@Service
public class EmployeeService {
@@ -33,6 +36,7 @@ public class EmployeeService {
PasswordEncoder passwordEncoder) {
this.employeeRepository = employeeRepository;
this.passwordEncoder = passwordEncoder;
}
// ---------- 検索 ----------