-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1229 impl mee007 009 011 #1232
base: dev
Are you sure you want to change the base?
1229 impl mee007 009 011 #1232
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 수고했습니다! 코멘트 확인하고 수정 부탁해요~
); | ||
return result; | ||
} | ||
|
||
@Post("/executive/meetings/meeting/:meetingId/agendas") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❗ Post가 아니라 Get인것 같아요. 혹시 테스트중에는 문제가 없었나요?
.where( | ||
and( | ||
eq(MeetingMapping.meetingAgendaId, agendaId), | ||
eq(MeetingMapping.meetingId, meetingId), | ||
), | ||
) | ||
.then(result => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ 여기선 soft deletion을 필터링할 필요가 없나요?
@Executive() | ||
@Delete("/executive/meetings/meeting/:meetingId/agendas/agenda/:agendaId") | ||
@UsePipes(new ZodPipe(apiMee011)) | ||
async postExecutiveMeetingAgendaImport( | ||
@GetExecutive() user: GetExecutive, | ||
@Param() param: ApiMee011RequestParam, | ||
): Promise<ApiMee011ResponseCreated> { | ||
const result = await this.meetingService.postExecutiveMeetingAgendaImport( | ||
user.executiveId, | ||
param, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❗ 컨벤션에 맞지 않는것 같아요. 확인해주세요!
meetingId, | ||
meetingAgendaId: agendaId, | ||
meetingAgendaPosition: newPosition, // Set position to the next available value | ||
meetingAgendaEntityType: 1, // Entity type is fixed to 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💊 EntityType이 무엇인지 Enum을 통해 정의하고 주석이 있으면 이해하기 편할거 같아요
요약 *
It closes #1229
MEE 007, 009, 011 API를 구현하였습니다.
interface / Controller / repository / service 모두 구현했습니다.
그리고 중간에 Mapping 테이블을 다루는 부분에서 둘이 나누어 구현하다 보니 약간 다른 점이 존재했는데 질문드리고싶네용
스크린샷
이후 Task *
MEE 006~011의 Req/Res의 구조를 조금 리팩토링하고 구조를 단일화 시키는 것은 어떨지..!