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
e201888a
Commit
e201888a
authored
Jan 18, 2021
by
pengxiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
f85da4fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
report_service.py
app/service/report_service.py
+3
-2
No files found.
app/service/report_service.py
View file @
e201888a
...
...
@@ -187,8 +187,8 @@ def make_report(args):
tamp_diagnose_session
.
add
(
report_record
)
tamp_diagnose_session
.
flush
()
record_id
=
report_record
.
id
pid
=
os
.
fork
()
if
pid
==
0
:
#
pid = os.fork()
if
0
==
0
:
# try:
dt
=
DataIntegrate
(
ifa_id
=
ifa_id
,
customer_id
=
customer_id
,
pdf_name
=
pdf_name
,
type
=
type
)
dt
.
render_data
(
data
=
report_data
)
...
...
@@ -221,5 +221,6 @@ def make_report(args):
'update_status'
:
2
,
'update_time'
:
datetime
.
datetime
.
now
()
})
return
True
else
:
return
True
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