QA
This commit is contained in:
parent
fe75c845db
commit
02d9fda6b7
@ -14,6 +14,7 @@ import org.springframework.web.client.HttpClientErrorException;
|
|||||||
import org.springframework.web.client.RestTemplate;
|
import org.springframework.web.client.RestTemplate;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
public class EmployeeService {
|
public class EmployeeService {
|
||||||
@ -59,7 +60,7 @@ public class EmployeeService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ArrayList<GetProjectDto> getProjects(Long employeeId) {
|
public List<GetProjectDto> getProjects(Long employeeId) {
|
||||||
ArrayList<ProjectEntity> projects = this.projectRepository.findAllByEmployeeId(employeeId);
|
ArrayList<ProjectEntity> projects = this.projectRepository.findAllByEmployeeId(employeeId);
|
||||||
ArrayList<GetProjectDto> projectDtos = new ArrayList<>();
|
ArrayList<GetProjectDto> projectDtos = new ArrayList<>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user