This commit is contained in:
Bhumi Shah
2025-12-05 20:55:19 +03:00
parent 9f437b83e2
commit 884adb5d6e
7 changed files with 0 additions and 29 deletions

View File

@@ -1,5 +1,4 @@
package com.example.nto.service.impl;
import com.example.nto.entity.Booking;
import com.example.nto.entity.Employee;
import com.example.nto.excepation.EmployeeNotFoundException;
import com.example.nto.repository.BookingRepository;
@@ -8,8 +7,6 @@ import com.example.nto.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* TODO: ДОРАБОТАТЬ в рамках задания
@@ -19,13 +16,8 @@ import java.util.List;
*/
@Service
public class EmployeeServiceImpl implements EmployeeService {
@Autowired
private EmployeeRepository employeeRepository;
@Autowired
private BookingRepository bookingRepository;
@Override
public Employee getEmployeeWithBookings(String code) {
if (code == null || code.isEmpty()) {