[논의] BasicDepartmentservice 에서 EmployeeService 의 직원수 메서드 호출문제 #49
Closed
kimtaehyun80
started this conversation in
General
Replies: 1 comment 3 replies
-
|
@kimtaehyun80 님 안녕하세요! 저도 확인해봤는데 하지만 제안해주신 메서드 시그니처보다 다음과 같은 시그니처는 어떻게 생각하시나요?? 부서별 직원 분포: 위와 같이 정의하고
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
✨
BasicDepartmentservice 부서 서비스 구현체 생성시, 직원수 조회를 위해 EmployeeService 를 호출해야 할 필요가 있습니다.
부서 서비스 구현체 에서 필요한 인자 (Long departmentId) 는 다음과 같습니다.
특정 부서의 총 직원 수 : public long getEmployeeCount (Long departmentId)
현재 EmployeeService 상에
직원수 호출에 사용가능한 유일한 메서드는 다음과 같습니다.
Long getEmployeeCount (EmployeeStatus status, LocalDate fromDate, LocalDate toDate);
필요한 인자값과 호출시 제공되어야 하는 인자값이 다른점에 대해서 논의 드립니다.**
Beta Was this translation helpful? Give feedback.
All reactions