Skip to content

Feat: "재료 수정 및 재료 삭제 기능 구현"#17

Merged
KIM9909 merged 2 commits intodevelopfrom
hongbeom
Dec 13, 2024
Merged

Feat: "재료 수정 및 재료 삭제 기능 구현"#17
KIM9909 merged 2 commits intodevelopfrom
hongbeom

Conversation

@KIM9909
Copy link
Copy Markdown
Contributor

@KIM9909 KIM9909 commented Dec 12, 2024

  1. IngredientResponse에 불필요한 생성자 제거
  2. tbl_ingredient_category와 tbl_ingredient_storage에 카테고리와 보관방법 SQL로 몇 가지 INSERT
  3. 재료명 조회 시 category_pk, storage_pk가 아닌 카테고리명과 보관방법명이 나오도록 수정
  4. 재료 수정 기능 구현
  5. 재료 삭제 기능 구현 -> ingredientManagementPk 를 url에 추가 입력하면 삭제 가능

1. IngredientResponse에 불필요한 생성자 제거
2. tbl_ingredient_category와 tbl_ingredient_storage에 카테고리와 보관방법 SQL로 몇 가지 INSERT
3. 재료명 조회 시 category_pk, storage_pk가 아닌 카테고리명과 보관방법명이 나오도록 수정
4. 재료 수정 기능 구현
5. 재료 삭제 기능 구현 -> ingredientManagementPk 를 url에 추가 입력하면 삭제 가능
Copy link
Copy Markdown
Contributor

@MinFe4990 MinFe4990 left a comment

Choose a reason for hiding this comment

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

check!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

check!
lombok 쓰는데 클래스 생성자를 넣은 이유가 있을까유?

Copy link
Copy Markdown
Contributor

@kingkang85 kingkang85 left a comment

Choose a reason for hiding this comment

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

예외 처리까지 확실하게 해주셨군요. 굿

Copy link
Copy Markdown
Contributor

@LeeGukgeon LeeGukgeon left a comment

Choose a reason for hiding this comment

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

재료 수정 , 삭제 기능 구현 확인했습니다

Copy link
Copy Markdown
Contributor

@uni-zun uni-zun left a comment

Choose a reason for hiding this comment

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

주석 설명이 있어서 가독성이 더 좋아요

@yunjaeeun
Copy link
Copy Markdown
Contributor

yunjaeeun commented Dec 13, 2024

업데이트할 요소중에 몇가지를 보내지 않아도 의도한대로 업데이트가 되나요? + 충돌 해결도 하셔야 될거같습니다 :)

@KIM9909
Copy link
Copy Markdown
Contributor Author

KIM9909 commented Dec 13, 2024

업데이트할 요소중에 몇가지를 보내지 않아도 의도한대로 업데이트가 되나요? + 충돌 해결도 하셔야 될거같습니다 :)

PUT 요청으로 보낼 때 한가지 필드를 누락해서 보내면 해당 필드의 값이 int인 경우 0, String인 경우 null로 바뀝니다.
하지만 필드를 모두 작성 후 아무것도 변경 없이 PUT 요청을 보내도 200 ok로 아무 이상 없이 실행됩니다.

  • conflict 해결 했습니다 !

@KIM9909 KIM9909 merged commit c4344e8 into develop Dec 13, 2024
yunjaeeun added a commit that referenced this pull request Dec 16, 2024
1. 남은 유통기한 알람 세팅
   - 서비스 기능 구현중
   - 기능구현 후 로그인에서 비즈니스 로직 이어가도록 수정

Related to: #17
yunjaeeun added a commit that referenced this pull request Dec 16, 2024
1. 남은 유통기한 알람 구현 완료
유통기한이 7일, 3일 남은 상품에 대해서 알람 발송

2. 로그인 시 작동되도록 수정 필요

Related to: #17
kingkang85 added a commit that referenced this pull request Dec 16, 2024
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.

6 participants