Merge branch 'main' of https://git.opencomputing.cn/yumoqing/kboss
This commit is contained in:
commit
e00c77ae0f
@ -70,6 +70,12 @@ async def getbz_order(ns={}):
|
|||||||
count_sql += " AND bo.order_status = ${order_status}$"
|
count_sql += " AND bo.order_status = ${order_status}$"
|
||||||
params['order_status'] = ns.get('order_status')
|
params['order_status'] = ns.get('order_status')
|
||||||
|
|
||||||
|
# 业务操作筛选business_op BUY, RENEW, BUY_REVERSE
|
||||||
|
if ns.get('business_op'):
|
||||||
|
sql += " AND bo.business_op = ${business_op}$"
|
||||||
|
count_sql += " AND bo.business_op = ${business_op}$"
|
||||||
|
params['business_op'] = ns.get('business_op')
|
||||||
|
|
||||||
# 添加排序
|
# 添加排序
|
||||||
sql += " ORDER BY bo.order_date DESC"
|
sql += " ORDER BY bo.order_date DESC"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user