feat: 바코드 기반 제품 태깅 시스템 구축

- product_master 테이블: 제품 마스터 (바코드, 이름, 성분, 태그)
- product_categories: 제품 카테고리 22개 (진통제, 소화제 등)
- product_category_mapping: 다대다 매핑 (하나의 제품이 여러 카테고리)
- disease_codes: 질병 코드 ICD-10 12개
- disease_product_mapping: 질병-제품 매핑
- 샘플 제품 3개 추가 (탁센, 베아제, 마그비맥스)
- BARCODE 컬럼 95.79% 보유율 확인
- 온톨로지 기반 추천 시스템 설계 문서

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-23 23:28:59 +09:00
parent a3252f7f17
commit 39539639b7
7 changed files with 953 additions and 0 deletions

View File

@@ -130,11 +130,19 @@ pharmacy-pos-qr-system/
```sql
- SL_NO_order: (Foreign Key)
- DrugCode:
- BARCODE: (nvarchar(20)) 95.79%
- SL_NM_item: (decimal)
- SL_INPUT_PRICE:
- SL_TOTAL_PRICE:
```
**바코드 통계**:
- 전체 제품 수: 3,120개
- 바코드 종류: 3,307개
- 바코드 보유율: **95.79%** (174,327건 / 181,985건)
- 활용: AI 기반 제품 태깅, 온톨로지 구축, 개인화 추천
#### CD_GOODS (약품 마스터 - PM_DRUG 데이터베이스)
```sql