Conversation
|
ApplicationListener의 경우는 작업 승인, 담당자 변경 등의 메소드만 만들어놔주시면 제가 별도로 설정할 예정입니다!! 상관안쓰셔두 돼요! |
There was a problem hiding this comment.
taskid는 dto 선언이 아닌 path variable로 변경 부탁드립니다!
| @NotNull | ||
| Long mainCategoryId, | ||
| @NotNull | ||
| Long categoryId, |
There was a problem hiding this comment.
카테고리 id(2차)만 받아도 충분할 거 같은데 어떻게 생각하시나요?
There was a problem hiding this comment.
넵 그 방향이 나을 것 같습니다.
There was a problem hiding this comment.
string이 아니라 데이터 객체로 선언하신 이유가 있을까요?
There was a problem hiding this comment.
정렬하는 속성과 그 속성을 오름차순 혹은 내림차순 정렬을 할지에 대한 방향은 항상 함께 전달되기 때문에 객체로 묶었습니다.
| @@ -43,7 +46,9 @@ public UpdateTaskResponse updateTask(Long requesterId, UpdateTaskRequest updateT | |||
| memberService.findActiveMember(requesterId); | |||
| Category category = categoryService.findById(updateTaskRequest.categoryId()); | |||
There was a problem hiding this comment.
승인 권한이 있는 담당자만 가능하도록 해야해서, SPEL을 사용하여 메서드 단위로 승인을 하거나 MEMBER의 리뷰어 권한을 조회해서 예외 처리 추가하시면 될거같아요!
There was a problem hiding this comment.
제가 이해한게 맞다면 말씀하신 부분은 approvalTaskByReviewer()메서드에 추가되어있는데 확인한번 부탁드립니다.
There was a problem hiding this comment.
아 승인과 수정이 분리되어야하네요! 네 확인입니다:)
There was a problem hiding this comment.
수정시에도 요청자나 담당자와 일치하는지 검증하는거 필요할거같아요!
66b96dd to
582ca7d
Compare
📄 요약(Summary)
✍🏼 상세(More)
PR Desciption
Requirements for Reviewer
PR Log
새롭게 배운 것
고민 중인 사항
첨부 자료
Requirements for Reviewer
✅ 체크리스트(Checklist)
🚪 이슈 번호(Issue numbers)
Closes #85