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
b7093749
Commit
b7093749
authored
Apr 20, 2023
by
xupeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核结算状态提交
parent
37cc9c6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
guild.py
app/api/statement/guild.py
+3
-0
No files found.
app/api/statement/guild.py
View file @
b7093749
...
...
@@ -551,6 +551,9 @@ def GuildSettlementAdd(db, data):
balance_refer_num
=
f
'guild_settlement_{data.id}_balance'
is_failure
=
transfer_trigger_task
(
guild_info
[
0
]
.
get
(
"uuid"
),
0
,
float
(
guild_data
.
balance
),
'guild_clear'
,
'consumable'
,
balance_refer_num
,
[],
1
,
acc_info
[
0
][
'uuid'
])
if
is_failure
:
db
.
query
(
GuildSettlementLog
)
.
filter
(
GuildSettlementLog
.
id
==
data
.
id
)
.
update
(
{
GuildSettlementLog
.
status
:
3
,
GuildSettlementLog
.
update_time
:
get_now_datetime
()})
db
.
commit
()
return
400
,
{
"msg"
:
"结算错误"
}
first_sta
=
1
# 珍珠处理
...
...
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