update
This commit is contained in:
parent
7bb029a66e
commit
65eebb7aed
@ -79,6 +79,9 @@ async def getbz_order(ns={}):
|
|||||||
# ns['total_discount_amount'] = total_discount_amount
|
# ns['total_discount_amount'] = total_discount_amount
|
||||||
# ns['total_count'] = total_count[0]['total_count'] if total_count else 0
|
# 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'):
|
if ns.get('id'):
|
||||||
|
|||||||
@ -362,6 +362,7 @@ async def process_user_billing(ns={}):
|
|||||||
'originalprice': round(originalprice, 12),
|
'originalprice': round(originalprice, 12),
|
||||||
'ordertype': 'prepay',
|
'ordertype': 'prepay',
|
||||||
'servicename': productname,
|
'servicename': productname,
|
||||||
|
'is_big_model': 1
|
||||||
}
|
}
|
||||||
await sor.C('bz_order', bz_ns)
|
await sor.C('bz_order', bz_ns)
|
||||||
|
|
||||||
@ -380,6 +381,7 @@ async def process_user_billing(ns={}):
|
|||||||
'resourceids': '',
|
'resourceids': '',
|
||||||
'resourcestarttime': now_str,
|
'resourcestarttime': now_str,
|
||||||
'resourceendtime': None,
|
'resourceendtime': None,
|
||||||
|
'is_big_model': 1
|
||||||
}
|
}
|
||||||
await sor.C('order_goods', goods_ns)
|
await sor.C('order_goods', goods_ns)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user