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
c70074ef
Commit
c70074ef
authored
Apr 20, 2023
by
xianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化业务类型汇总
parent
1d832e1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
17 deletions
+4
-17
crud.py
app/api/export/crud.py
+4
-17
No files found.
app/api/export/crud.py
View file @
c70074ef
...
...
@@ -275,26 +275,13 @@ class ReferenceTypeClassification():
op
[
'money'
]
=
round
(
float
(
op
[
'amount'
]),
2
)
if
op
.
get
(
'uuid'
)
in
guild_data
:
op
[
'nickname'
]
=
'公会'
elif
op
.
get
(
'uuid'
)
in
anchor_data
:
if
op
.
get
(
'reference_type'
)
==
'studioGift'
:
if
op
.
get
(
'amount_type'
)
==
'backpack'
:
op
[
'nickname'
]
=
'背包送出'
elif
op
.
get
(
'amount_type'
)
==
'consumable'
:
op
[
'nickname'
]
=
'钻石送出'
else
:
op
[
'nickname'
]
=
'主播'
else
:
op
[
'nickname'
]
=
'主播'
elif
account_dict
.
get
(
op
[
'uuid'
]):
op
[
'nickname'
]
=
account_dict
.
get
(
op
[
'uuid'
])
else
:
if
op
.
get
(
'reference_type'
)
==
'studioGift'
:
if
op
.
get
(
'amount_type'
)
==
'backpack'
:
op
[
'nickname'
]
=
'背包送出'
elif
op
.
get
(
'amount_type'
)
==
'consumable'
:
op
[
'nickname'
]
=
'钻石送出'
else
:
op
[
'nickname'
]
=
'用户'
if
op
.
get
(
'amount_type'
)
==
'backpack'
:
op
[
'nickname'
]
=
'背包送出'
elif
op
.
get
(
'amount_type'
)
==
'consumable'
:
op
[
'nickname'
]
=
'钻石送出'
else
:
op
[
'nickname'
]
=
'用户'
if
op
.
get
(
'type'
)
==
0
:
...
...
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