Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
financial-system
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xianyang
financial-system
Commits
c21d8011
Commit
c21d8011
authored
Apr 18, 2023
by
xupeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新导出修改代码提交
parent
b4e8e5c7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
crud.py
app/api/statement/crud.py
+2
-2
guild.py
app/api/statement/guild.py
+1
-0
views.py
app/api/statement/views.py
+1
-1
No files found.
app/api/statement/crud.py
View file @
c21d8011
...
...
@@ -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
:
...
...
app/api/statement/guild.py
View file @
c21d8011
...
...
@@ -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
...
...
app/api/statement/views.py
View file @
c21d8011
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment