issues
search
Team5-be01-Final-Project
/
.github
https://github.com/beyond-sw-camp/beyond-sw-camp-be01_last-dance
3
stars
0
forks
source link
상품에 대한 원가 관리 방법 회의
#15
Closed
jsmin6330
closed
7 months ago
jsmin6330
commented
7 months ago
1안. 상품정보테이블에 원가를 바로 등록
장점: 테이블을 하나로 가져가기 때문에, 본 수 감소
단점: 같은 상품(타이레놀)이라도 단가가 달라지면 상품을 새로 등록해야함 따라서 같은 상품이라고 해도 단가가 달라지면 상품코드가 달라지기 때문에, 단가 변경 전의 매출 데이터를 상품코드로 같이 조회 할 수 없음.
2안. 기간별 원가 정보 테이블을 따로 관리
장점: 같은 상품(타이레놀)에 대한 정보를 단가가 달라지더라도, 상품코드를 기반으로 조회할 수 있음
단점: 페이지 본 수 증가
jsmin6330
commented
7 months ago
결론: 2안
1안. 상품정보테이블에 원가를 바로 등록
2안. 기간별 원가 정보 테이블을 따로 관리