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

Modify the logic that manages the project #233

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

seungkyua
Copy link
Contributor

  • 프로젝트 생성시 projectRoleId 는 Request Body 에서 제거
  • 프로젝트 조회시 대표 리더를 같이 조회 (project_members 테이블에 is_project_leader 컬럼 추가)
  • 프로젝트 멤버 조회시 결과 json 을 핸들링하게 쉽게 변경
{
    "projectMembers": [
        {
            "id": "737b42e9-b72f-45b1-b61e-a5b759a97b44",
            "projectId": "8172dfe0-2452-44c1-bd67-b7a24ab7e712",
            "projectUserId": "58568003-9812-42d6-b10e-61a60e52cb06",
            "projectUserName": "리더",
            "projectUserAccountId": "leader1",
            "projectUserEmail": "[email protected]",
            "projectUserDepartment": "프로젝트 리더팀",
            "projectRoleId": "f4358b4e-adc3-447a-8ad9-c111c4b9a974",
            "projectRoleName": "project-leader",
            "createdAt": "2024-02-15T13:48:36.958025+09:00",
            "updatedAt": null
        },
        {
            "id": "d4eb7b81-a480-4353-b48b-70c4743a8337",
            "projectId": "8172dfe0-2452-44c1-bd67-b7a24ab7e712",
            "projectUserId": "07a58471-5dc3-4523-8a60-72bb86804009",
            "projectUserName": "멤버",
            "projectUserAccountId": "member1",
            "projectUserEmail": "[email protected]",
            "projectUserDepartment": "프로젝트 멤버팀",
            "projectRoleId": "2071bd6f-26b3-4c1a-a3ab-439bc89f0011",
            "projectRoleName": "project-member",
            "createdAt": "2024-02-15T15:10:17.139982+09:00",
            "updatedAt": null
        },
        {
            "id": "f8a4ceb3-1e05-4815-8255-5b937b7a8269",
            "projectId": "8172dfe0-2452-44c1-bd67-b7a24ab7e712",
            "projectUserId": "f1de2b61-a93c-4d98-aa82-39c40dff877c",
            "projectUserName": "뷰어",
            "projectUserAccountId": "viewer1",
            "projectUserEmail": "[email protected]",
            "projectUserDepartment": "프로젝트 뷰어팀",
            "projectRoleId": "f62c16e1-316c-4d7f-9cfa-dbe4ed7dfa17",
            "projectRoleName": "project-viewer",
            "createdAt": "2024-02-15T15:10:17.139982+09:00",
            "updatedAt": null
        }
    ]

@seungkyua seungkyua force-pushed the 20240215_modify_project branch from 5ac3c66 to 5b90ba9 Compare February 15, 2024 07:03
@cho4036 cho4036 merged commit bb41255 into openinfradev:develop Feb 15, 2024
4 checks passed
ktkfree pushed a commit that referenced this pull request Feb 16, 2024
Modify the logic that manages the project
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.

2 participants