From 21c812481106fbcbfef74529500beb1f6f70a7ee Mon Sep 17 00:00:00 2001 From: thug0bin Date: Sat, 7 Mar 2026 17:08:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A7=80=EC=98=A4=EC=98=81=20summary-by?= =?UTF-8?q?-kd=EC=97=90=20KD=EC=BD=94=EB=93=9C=20enrich=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/geoyoung_api.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/geoyoung_api.py b/backend/geoyoung_api.py index 67e84c9..35cec4b 100644 --- a/backend/geoyoung_api.py +++ b/backend/geoyoung_api.py @@ -619,6 +619,12 @@ def api_geoyoung_orders_by_kd(): orders = orders_result.get('orders', []) + # 각 주문의 items에 KD코드 추가 (enrich) + for order in orders: + items = order.get('items', []) + if items: + session._enrich_kd_codes(items) + # KD코드별 집계 kd_summary = {}