Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
fund_report
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
fund_report
Commits
84d2e44c
Commit
84d2e44c
authored
Feb 05, 2021
by
wang zhengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改返回格式
parent
c7589b3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
report_service.py
app/service/report_service.py
+2
-2
No files found.
app/service/report_service.py
View file @
84d2e44c
...
@@ -313,7 +313,7 @@ def make_app_report(args):
...
@@ -313,7 +313,7 @@ def make_app_report(args):
HoldReport
.
ifa_id
==
ifa_id
,
HoldReport
.
ifa_id
==
ifa_id
,
HoldReport
.
customer_id
==
customer_id
)
.
first
()
HoldReport
.
customer_id
==
customer_id
)
.
first
()
if
hr
:
if
hr
:
return
hr
.
get_file
()
return
hr
.
id
customer_name
=
''
customer_name
=
''
type_name
=
'持仓报告'
type_name
=
'持仓报告'
create_date
=
str
(
datetime
.
datetime
.
now
()
.
date
())
create_date
=
str
(
datetime
.
datetime
.
now
()
.
date
())
...
@@ -353,6 +353,6 @@ def make_app_report(args):
...
@@ -353,6 +353,6 @@ def make_app_report(args):
report_record
=
HoldReport
(
**
args
)
report_record
=
HoldReport
(
**
args
)
tamp_diagnose_session
.
add
(
report_record
)
tamp_diagnose_session
.
add
(
report_record
)
tamp_diagnose_session
.
flush
()
tamp_diagnose_session
.
flush
()
return
report_record
.
id
return
report_record
.
id
return
False
return
False
\ No newline at end of file
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