feat: 100처방 구성약재 수 표시, 등록 여부 백엔드 판정, 이름매칭 개선

- official_formulas API에 ingredient_count 추가 (LEFT JOIN COUNT)
- 등록 여부를 백엔드에서 판정 (official_formula_id FK 1차 + 이름 포함 매칭 fallback)
- 내 처방 100처방 뱃지 매칭: startsWith → includes 변경
- 100처방 목록에 구성약재 수 뱃지 컬럼 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-18 14:41:40 +00:00
parent 1679f75d33
commit 50883a6a84
3 changed files with 79 additions and 30 deletions

View File

@@ -403,6 +403,7 @@
<th>처방명</th>
<th>한자명</th>
<th>출전</th>
<th width="80">구성약재</th>
<th width="80">상태</th>
</tr>
</thead>