Skip to content
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

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

1229 impl mee007 009 011 #1232

wants to merge 3 commits into from

Conversation

oRE-o
Copy link
Contributor

@oRE-o oRE-o commented Nov 27, 2024

요약 *

It closes #1229
MEE 007, 009, 011 API를 구현하였습니다.
interface / Controller / repository / service 모두 구현했습니다.

그리고 중간에 Mapping 테이블을 다루는 부분에서 둘이 나누어 구현하다 보니 약간 다른 점이 존재했는데 질문드리고싶네용

스크린샷

이후 Task *

MEE 006~011의 Req/Res의 구조를 조금 리팩토링하고 구조를 단일화 시키는 것은 어떨지..!

  • 없음

@oRE-o oRE-o self-assigned this Nov 27, 2024
@oRE-o oRE-o linked an issue Nov 27, 2024 that may be closed by this pull request
2 tasks
Copy link
Contributor

@Engineer-JJHaMa Engineer-JJHaMa left a 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")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗ Post가 아니라 Get인것 같아요. 혹시 테스트중에는 문제가 없었나요?

Comment on lines +538 to +544
.where(
and(
eq(MeetingMapping.meetingAgendaId, agendaId),
eq(MeetingMapping.meetingId, meetingId),
),
)
.then(result => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ 여기선 soft deletion을 필터링할 필요가 없나요?

Comment on lines +130 to +139
@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,
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💊 EntityType이 무엇인지 Enum을 통해 정의하고 주석이 있으면 이해하기 편할거 같아요

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

impl MEE007 009 011
2 participants