Commit c21d8011 authored by xupeng's avatar xupeng

更新导出修改代码提交

parent b4e8e5c7
......@@ -303,7 +303,7 @@ class WithdrawStatement(object):
def get_guild_withdraw_cash(self, db, page, size, name, status, start_time, end_time, month_type, menu_id):
"""公会提现"""
query = []
query =[]
if name:
query.append(f" nickname like '%{name}%' ")
if status:
......
......@@ -501,6 +501,7 @@ def transfer_query(data):
params = {}
referNum=f'platomOutMoney_{platform}'
reference_type='Payment'
uuid =data.uuid
ip=get_ip()
money=data.money * -1 if data.money < 0 else data.money
......
......@@ -57,7 +57,7 @@ def guild_withdrawal_list(request:Request,db: Session = Depends(get_db),page: Op
"""公会提现列表 暂无"""
query_params=request.query_params
menu_id=query_params.getlist("menu_id[]")
total,statement_list,money,reality_moeny= WithdrawStatement(). get_guild_withdraw_cash(db,page,size,guild_id,status,start_time,end_time,month_type,menu_id)
total,statement_list,money,reality_moeny= WithdrawStatement().get_guild_withdraw_cash(db,page,size,guild_id,status,start_time,end_time,month_type,menu_id)
return HttpResultResponse(total=total, count=float(money), data=statement_list,reality_moeny=reality_moeny)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment