fix: 지오영 summary-by-kd에 KD코드 enrich 추가
This commit is contained in:
parent
33c6cd2d5c
commit
21c8124811
@ -619,6 +619,12 @@ def api_geoyoung_orders_by_kd():
|
|||||||
|
|
||||||
orders = orders_result.get('orders', [])
|
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코드별 집계
|
||||||
kd_summary = {}
|
kd_summary = {}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user