diff --git a/b/bz_order/getbz_order.dspy b/b/bz_order/getbz_order.dspy index 9d9ab0f..77626ad 100644 --- a/b/bz_order/getbz_order.dspy +++ b/b/bz_order/getbz_order.dspy @@ -79,6 +79,9 @@ async def getbz_order(ns={}): # ns['total_discount_amount'] = total_discount_amount # ns['total_count'] = total_count[0]['total_count'] if total_count else 0 + # 排除大模型订单 + sql += " AND og.is_big_model = 0" + count_sql += " AND og.is_big_model = 0" # 根据订单号搜索 if ns.get('id'): diff --git a/b/cntoai/process_user_billing.dspy b/b/cntoai/process_user_billing.dspy index 9204e7c..35e9ed5 100644 --- a/b/cntoai/process_user_billing.dspy +++ b/b/cntoai/process_user_billing.dspy @@ -362,6 +362,7 @@ async def process_user_billing(ns={}): 'originalprice': round(originalprice, 12), 'ordertype': 'prepay', 'servicename': productname, + 'is_big_model': 1 } await sor.C('bz_order', bz_ns) @@ -380,6 +381,7 @@ async def process_user_billing(ns={}): 'resourceids': '', 'resourcestarttime': now_str, 'resourceendtime': None, + 'is_big_model': 1 } await sor.C('order_goods', goods_ns)