diff --git a/app.py b/app.py index 76f9118..2abe95c 100644 --- a/app.py +++ b/app.py @@ -269,8 +269,10 @@ def get_herbs_by_ingredient(ingredient_code): h.specification, CASE WHEN h.specification LIKE '%신흥%' THEN '신흥' + WHEN h.specification LIKE '%세화%' THEN '세화' WHEN h.specification LIKE '%한동%' THEN '한동' - ELSE COALESCE(h.specification, '기타') + WHEN h.specification IS NULL OR h.specification = '' THEN '일반' + ELSE h.specification END as company_name, COALESCE(SUM(il.quantity_onhand), 0) as stock_quantity, COUNT(DISTINCT il.lot_id) as lot_count, diff --git a/templates/index.html b/templates/index.html index 5a7da18..96b4bb6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -383,7 +383,7 @@